Skip to content

markerfacecolor="None" becomes black when using the alpha channel #11458

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
hsandmeyer opened this issue Jun 19, 2018 · 1 comment
Closed

markerfacecolor="None" becomes black when using the alpha channel #11458

hsandmeyer opened this issue Jun 19, 2018 · 1 comment

Comments

@hsandmeyer
Copy link

Bug summary

When plotting non-filled markers with markerfacecolor="None" along with alpha=non-zero the marker face color becomes black for the png format. Same happens when using plt.show().

Code for reproduction

import matplotlib.pyplot as plt

plt.errorbar([1], [1], markerfacecolor = "None",
        marker = 'o', alpha = 0.9, markersize=100)

plt.savefig('test.png')
plt.savefig('test.pdf')

Actual outcome

test

Expected outcome
test.pdf

Matplotlib version

matplotlib 2.2.2-2 on arch-linux

@anntzer
Copy link
Contributor

anntzer commented Jun 19, 2018

Fixed in master by #11105.

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

No branches or pull requests

3 participants