Skip to content

Commit 3d106ae

Browse files
authored
fix test config
Co-authored by: Aitik Gupta <[email protected]>
1 parent ff0cf3a commit 3d106ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/tests/test_mathtext.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,7 @@ def test_mathtext_cmr10_minus_sign():
391391
# cmr10 does not contain a minus sign and used to issue a warning
392392
# RuntimeWarning: Glyph 8722 missing from current font.
393393
mpl.rcParams['font.family'] = 'cmr10'
394+
mpl.rcParams['axes.formatter.use_mathtext'] = True
394395
fig, ax = plt.subplots()
395396
ax.plot(range(-1, 1), range(-1, 1))
396397
with pytest.warns(None) as record:

0 commit comments

Comments
 (0)