Skip to content

graphics context: use alpha value from foreground color if present #423

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
Aug 20, 2011

Conversation

efiring
Copy link
Member

@efiring efiring commented Aug 17, 2011

When a Line2D color is given as an rgba, this causes the "a" part
to be used unless it is explicitly overridden by an alpha kwarg.

It is in response to
http://www.mail-archive.com/matplotlib-users@lists.sourceforge.net/msg21706.html

When a Line2D color is given as an rgba, this causes the "a" part
to be used unless it is explicitly overriden by an alpha kwarg.
Prior to this change, calling set_alpha before set_foreground with
an rgba argument would cause the latter to override the former.
efiring added a commit that referenced this pull request Aug 20, 2011
graphics context: use alpha value from foreground color if present
@efiring efiring merged commit 39db8f1 into matplotlib:master Aug 20, 2011
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.

2 participants