Skip to content

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