Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 874ccdd commit 1006c08Copy full SHA for 1006c08
1 file changed
lib/matplotlib/tests/test_axes.py
@@ -2341,6 +2341,16 @@ def test_manage_xticks():
2341
assert_array_equal(old_xlim, new_xlim)
2342
2343
2344
+@cleanup
2345
+def test_size0_ticks():
2346
+ # allow font size to be zero, which affects ticks when there is
2347
+ # no other text in the figure.
2348
+ plt.plot([0, 1], [0, 1])
2349
+ matplotlib.rcParams.update({'font.size': 0})
2350
+ b = io.BytesIO()
2351
+ plt.savefig(b, dpi=80, format='raw')
2352
+
2353
2354
@image_comparison(baseline_images=['errorbar_basic', 'errorbar_mixed',
2355
'errorbar_basic'])
2356
def test_errorbar():
0 commit comments