Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Open
Milestone
Description
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
frommatplotlibimportpyplotaspltplt.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.