Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 58cd28d

Browse files
committed
plt --> ax
1 parent a9bee63 commit 58cd28d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1320,9 +1320,9 @@ def test_arc_ellipse():
13201320
def test_marker_as_markerstyle():
13211321
fix, ax = plt.subplots()
13221322
m = mmarkers.MarkerStyle('o')
1323-
plt.plot([1, 2, 3], [3, 2, 1], marker=m)
1324-
plt.scatter([1, 2, 3], [4, 3, 2], marker=m)
1325-
plt.errorbar([1, 2, 3], [5, 4, 3], marker=m)
1323+
ax.plot([1, 2, 3], [3, 2, 1], marker=m)
1324+
ax.scatter([1, 2, 3], [4, 3, 2], marker=m)
1325+
ax.errorbar([1, 2, 3], [5, 4, 3], marker=m)
13261326

13271327

13281328
@image_comparison(['markevery'], remove_text=True)

0 commit comments

Comments
 (0)