Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mec='none' removes marker (face) from PNG output #3852

Closed
@mankoff

Description

@mankoff

Setting mec='none' removes the entire marker when exporting to PNG. See attached MWE and compare PDF and PNG output. May be related to #621 and #3687

import numpy as np
from matplotlib import pyplot as plt
x = np.random.random(10)
y = np.random.random(10)

plt.clf()
plt.plot(x, y, 'o', mec='none')
plt.savefig('test.pdf')
plt.savefig('test.png')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions