8000 Test eventlog legend added · matplotlib/matplotlib@e1bcca2 · GitHub
[go: up one dir, main page]

Skip to content

Commit e1bcca2

Browse files
committed
Test eventlog legend added
1 parent 4ccd305 commit e1bcca2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,3 +4871,8 @@ def test_scatter_color_masking():
48714871
assert_array_equal(facecolors[1], np.array([0, 0, 0, 1]))
48724872
assert_array_equal(linecolors[1], np.array([0, 0, 0, 1]))
48734873
assert linewidths[1] == 3
4874+
4875+
@cleanup
4876+
def test_eventplot_legend():
4877+
plt.eventplot([1.0], label='Label')
4878+
plt.legend()

0 commit comments

Comments
 (0)
0