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

Skip to content

scatter shows square marker instead of pixel #11460

Open
@subhacom

Description

@subhacom

Bug report

scatter() shows square instead of pixel for marker symbol "," (comma)

When specifying marker=',' with scatter, the plotted marker is a square (same as marker='s'). According to documentation, and the behaviour of pyplot.plot(), it should be a pixel.

Code for reproduction

from matplotlib import pyplot as plt
plt.scatter([1, 2, 3], [4, 5, 6], marker=',')
plt.show()

Actual outcome

Plot with square markers.

Expected outcome

Plot with pixel markers.

Matplotlib version

  • Operating system: Windows 7
  • Matplotlib version: 2.0.2
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.6.0

conda default channel.

This problem is also present in older version: mpl 1.4.3 on Python 2.7.10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepItems to be ignored by the “Stale” Github Actionstatus: confirmed bug

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions