Skip to content

Fix #6069. Handle image masks correctly #6099

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
Mar 4, 2016

Conversation

mdboom
Copy link
Member

@mdboom mdboom commented Mar 2, 2016

Alternative to #6070

This works by converting the greyscale image to an RGBA image (with the
alpha channel created correctly) prior to resizing in Agg. This also
removes the hack (that caused problems with over/under) where we were
using negative values to indicate transparency.

Alternative to matplotlib#6070

This works by converting the greyscale image to an RGBA image (with the
alpha channel created correctly) prior to resizing in Agg.  This also
removes the hack (that caused problems with over/under) where we were
using negative values to indicate transparency.
@mdboom mdboom added this to the 2.0 (style change major release) milestone Mar 2, 2016
@mdboom
Copy link
Member Author

mdboom commented Mar 2, 2016

Passing Travis. Appveyor seems stuck in the queue.

tacaswell added a commit that referenced this pull request Mar 4, 2016
Fix #6069.  Handle image masks correctly
@tacaswell tacaswell merged commit 5c5a287 into matplotlib:master Mar 4, 2016
tacaswell added a commit that referenced this pull request Mar 4, 2016
Fix #6069.  Handle image masks correctly
@tacaswell
Copy link
Member

backported to v2.x as 1302606

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