8000 Fix eb rasterize by tacaswell · Pull Request #5773 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Fix eb rasterize #5773

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, 2015
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
PEP8: wrap line
  • Loading branch information
tacaswell committed Dec 31, 2015
commit 0899658abb8cd9848b1947a5e816cb6bb81630be
3 changes: 2 additions & 1 deletion lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2873,7 +2873,8 @@ def xywhere(xs, ys, mask):
plot_kw['markeredgewidth'] = capthick
# For backwards-compat, allow explicit setting of
# 'mew' or 'markeredgewidth' to over-ride capthick.
for key in ('markeredgewidth', 'mew', 'transform', 'alpha', 'zorder', 'rasterized'):
for key in ('markeredgewidth', 'mew', 'transform', 'alpha',
'zorder', 'rasterized'):
Copy link
Member

Choose a reason for hiding this comment

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

you know... I only added this one tiny bit of logic back in the day for handling "mew" in case users already figured out how to adjust the cap thickness (it was never documented). I intended to deprecate that at some point, but forgot to do that. I didn't think it would ever be used for other things like this. Perhaps there are other keyword arguments that should be checked?

Copy link
Member Author

Choose a reason for hiding this comment

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

probably

if key in kwargs:
plot_kw[key] = kwargs[key]

Expand Down
0