Skip to content

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

Closed

Description

@hsandmeyer

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

Activity

  1. anntzer commented on Jun 19, 2018

    @anntzer
    Contributor

    Fixed in master by #11105.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions