Skip to content

Scatter plot markers disappear completely when using facecolors='none' #25764

Closed as not planned
@ThimoFerede

Description

@ThimoFerede

Code:

import matplotlib.pyplot as plt
import numpy as np
plt.rcParams['figure.facecolor'] = 'w'
plt.scatter(np.random.randn(100), np.random.randn(100), facecolors='none', marker='o')

Expected result:
image

Result:
d54fea29-dfbc-4663-ba4c-8339c46e4130

Matplotlib version: 3.7.1
Python version: 3.10.10
Running in Anaconda3 environment using VS code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions