8000 Keep alpha on marker edges. Fixes #4580 by OceanWolf · Pull Request #4585 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Keep alpha on marker edges. Fixes #4580 #4585

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

Closed
wants to merge 1 commit into from

Conversation

OceanWolf
Copy link
Member

This fixes #4580.
GraphicsContextBase allows for the foreground color (i.e. the marker line color) to get set independntly from the alpha of the fill colour, but calling set_alpha overrides the already set colour with alpha.

Here we add a keyword to decide whether we should set_alpha should do this or not.

Note, this behaviour may need tweaking to check if the "foreground color" has had an explicit alpha set or not. Or perhaps we go for a different behaviour altogether. Whatever we decide it shouldn't take too much tweaking to implement.

@efiring
Copy link
Member
efiring commented Jul 5, 2015

I don't think this is quite right. I will try an alternative shortly.

@OceanWolf
Copy link
Member Author

Fair enough, you have a better idea of what needs to change and what needs to stay the same.

@efiring
Copy link
Member
efiring commented Jul 5, 2015

Replaced by #4586.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

alpha value lost on marker edges
3 participants
0