You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
scatter should accept '*' as markerstyle (the way plot does) #125
Just wanted to make a quick note of this - it would be a good bug for someone who wants to dive into matplotlib in a very defined manner.
Additionally, it'd be nice to have all of the markerstyle in plot supported by scatter, and vice versa - in case that isn't the case already for everything other than *
In [956]: plt.scatter(0,0,marker='*')
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/home/pi/tmp/local/lib/python2.5/site-packages/matplotlib/pyplot.pyc in scatter(x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, faceted, verts, hold, **kwargs)
2374 if hold is not None:
2375 ax.hold(hold)
-> 2376 try:
2377 ret = ax.quiver(*args, **kw)
2378 draw_if_interactive()
/home/pi/tmp/local/lib/python2.5/site-packages/matplotlib/axes.pyc in scatter(self, x, y, s, c, marker, cmap, norm, vmin, vmax, alpha, linewidths, faceted, verts, **kwargs)
5742
5743 self._process_unit_info(xdata=x, ydata=y, kwargs=kwargs)
-> 5744 x = self.convert_xunits(x)
5745 y = self.convert_yunits(y)
5746
ValueError: Unknown marker symbol to scatter
In [957]: plt.clf()
In [958]: plt.plot(0,0,'*')
Out[958]: [<matplotlib.lines.Line2D object at 0x7f3467c18d10>]
Activity
mdboom commentedon Jul 15, 2011
See also bug #350, and pull request #400.
mdboom commentedon Jul 25, 2011
Fixed by pull request #400.