8000 Makes eventplot legend work by nepix32 · Pull Request #7676 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Makes eventplot legend work #7676

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Dec 31, 2016
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Test eventlog legend added
  • Loading branch information
nepix32 authored and QuLogic committed Dec 27, 2016
commit ad74d47a86d98673aaea298fc91cd2f5cf544210
6 changes: 6 additions & 0 deletions lib/matplotlib/tests/test_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4871,3 +4871,9 @@ def test_scatter_color_masking():
assert_array_equal(facecolors[1], np.array([0, 0, 0, 1]))
assert_array_equal(linecolors[1], np.array([0, 0, 0, 1]))
assert linewidths[1] == 3

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One more blank line.


@cleanup
def test_eventplot_legend():
plt.eventplot([1.0], label='Label')
plt.legend()
0