Skip to content

Commit 41c4d8d

Browse files
authored
TST: Set tests touched by text overhaul to mpl20 style (matplotlib#31300)
* TST: Set tests touched by text overhaul to mpl20 style * TST: Tweak some tests to work better in mpl20 style
1 parent 417784e commit 41c4d8d

27 files changed

Lines changed: 211 additions & 202 deletions

lib/matplotlib/tests/test_agg_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66

77
@image_comparison(baseline_images=['agg_filter_alpha'],
8-
extensions=['gif', 'png', 'pdf'])
8+
extensions=['gif', 'png', 'pdf'], style='mpl20')
99
def test_agg_filter_alpha():
1010
ax = plt.axes()
1111
x, y = np.mgrid[0:7, 0:8]

lib/matplotlib/tests/test_arrow_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def test_fancyarrow():
2828
ax.tick_params(labelleft=False, labelbottom=False)
2929

3030

31-
@image_comparison(['boxarrow_test_image.png'])
31+
@image_comparison(['boxarrow_test_image.png'], style='mpl20')
3232
def test_boxarrow():
3333

3434
styles = mpatches.BoxStyle.get_styles()

0 commit comments

Comments
 (0)