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
Next Next commit
Makes eventplot legend work
Fixes issue #7662
  • Loading branch information
nepix32 authored and QuLogic committed Dec 27, 2016
commit ef060f4ccbdfc5b2712b2a8a34c20a31487769e9
2 changes: 1 addition & 1 deletion lib/matplotlib/legend_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ def get_numpoints(self, legend):
return self._numpoints

def _default_update_prop(self, legend_handle, orig_handle):
lw = orig_handle.get_linewidth()[0]
lw = orig_handle.get_linewidths()[0]
dashes = orig_handle.get_dashes()[0]
color = orig_handle.get_colors()[0]
legend_handle.set_color(color)
Expand Down
0