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

Skip to content

Commit ad74d47

Browse files
nepix32QuLogic
authored andcommitted
Test eventlog legend added
1 parent ef060f4 commit ad74d47

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

lib/matplotlib/tests/test_axes.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4871,3 +4871,9 @@ 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+
4876+
@cleanup
4877+
def test_eventplot_legend():
4878+
plt.eventplot([1.0], label='Label')
4879+
plt.legend()

0 commit comments

Comments
 (0)