Skip to content

Commit 622d24e

Browse files
committed
Add a test for issue #543
1 parent 1d9cbdd commit 622d24e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ def test_formatter_ticker():
1515
import matplotlib.testing.jpl_units as units
1616
units.register()
1717

18+
# This should affect the tick size. (Tests issue #543)
19+
matplotlib.rcParams['lines.markeredgewidth'] = 30
20+
1821
# This essentially test to see if user specified labels get overwritten
1922
# by the auto labeler functionality of the axes.
2023
xdata = [ x*units.sec for x in range(10) ]
@@ -319,7 +322,7 @@ def test_polar_theta_position():
319322
ax.plot(theta, r)
320323
ax.set_theta_zero_location("NW")
321324
ax.set_theta_direction('clockwise')
322-
325+
323326
@image_comparison(baseline_images=['axvspan_epoch'])
324327
def test_axvspan_epoch():
325328
from datetime import datetime
@@ -508,7 +511,7 @@ def test_symlog2():
508511
ax.set_xscale('symlog', linthreshx=0.01)
509512
ax.grid(True)
510513
ax.set_ylim(-0.1, 0.1)
511-
514+
512515
@image_comparison(baseline_images=['pcolormesh'], tol=0.02)
513516
def test_pcolormesh():
514517
n = 12
@@ -542,7 +545,7 @@ def test_pcolormesh():
542545
ax.set_title('gouraud')
543546
ax.set_xticks([])
544547
ax.set_yticks([])
545-
548+
546549

547550
@image_comparison(baseline_images=['canonical'])
548551
def test_canonical():
@@ -625,7 +628,7 @@ def test_markevery_line():
625628
ax.plot(x, y, '-+', markevery=(5, 20), label='mark every 5 starting at 10')
626629
ax.legend()
627630

628-
631+
629632
if __name__=='__main__':
630633
import nose
631634
nose.runmodule(argv=['-s','--with-doctest'], exit=False)

0 commit comments

Comments
 (0)