Skip to content

Commit 9c49c6a

Browse files
committed
built the images using the correct freetype font as well as added some headers to the radio button tests
1 parent 24e6bc3 commit 9c49c6a

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

lib/matplotlib/tests/test_widgets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ def test_CheckButtons():
263263

264264

265265
@image_comparison(baseline_images=['check_radio_buttons'], extensions=['png'],
266-
style='default')
266+
style='mpl20', remove_text=True)
267267
def test_check_radio_buttons_image():
268268
get_ax()
269269
plt.subplots_adjust(left=0.3)
@@ -275,7 +275,7 @@ def test_check_radio_buttons_image():
275275

276276

277277
@image_comparison(baseline_images=['check_bunch_of_radio_buttons'],
278-
extensions=['png'])
278+
style='mpl20', extensions=['png'], remove_text=True)
279279
def test_check_bunch_of_radio_buttons():
280280
rax = plt.axes([0.05, 0.1, 0.15, 0.7])
281281
widgets.RadioButtons(rax, ('B1', 'B2', 'B3', 'B4', 'B5', 'B6',

0 commit comments

Comments
 (0)