Skip to content

Prevent forced alpha in figureoptions. #6895

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

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Aug 3, 2016

Forcing the alpha value sets it not only for the line color but also the
marker faces and edges (i.e., editing the alpha value of the markers
in the options editor had no effect). Instead, just remove any forced
alpha and use the alpha values that have been set in the editor.

A later idea may be to make alpha not override alpha values passed in
together with the color as quadruplets.

See discussion starting at #6383 (comment)

Forcing the alpha value sets it not only for the line color but also the
marker faces and edges (i.e., editing the alpha value of the markers
in the options editor had no effect).  Instead, just remove any forced
alpha and use the alpha values that have been set in the editor.

A later idea may be to make alpha not override alpha values passed in
together with the color as quadruplets.
@QuLogic QuLogic added the GUI: Qt label Aug 3, 2016
@tacaswell tacaswell modified the milestones: 2.0 (style change major release), 2.0.1 (next bug fix release) Aug 4, 2016
@tacaswell
Copy link
Member

This has the effect of over-ridding any previously supplied user input, but that is ok as they are in the editor (and the way it was is also throwing away user input), so merging.

@tacaswell tacaswell merged commit 2972f15 into matplotlib:master Aug 4, 2016
tacaswell added a commit that referenced this pull request Aug 4, 2016
…ptions

FIX: Prevent forced alpha in figureoptions.
@tacaswell
Copy link
Member

backported to v2.x as 5fb9017

@QuLogic QuLogic modified the milestones: 2.0 (style change major release), 2.0.1 (next bug fix release) Aug 4, 2016
@anntzer anntzer deleted the prevent-forced-alpha-in-figureoptions branch August 4, 2016 03:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants