FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

scatter should accept '*' as markerstyle (the way plot does) · Issue #125 · matplotlib/matplotlib · GitHub

Repository navigation

scatter should accept '*' as markerstyle (the way plot does) #125

Closed

Description

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

  1. mdboom commented on Jul 15, 2011

    Member

    See also bug #350, and pull request #400.

  2. mdboom commented on Jul 25, 2011

    Member

    Fixed by pull request #400.

  3. modified the milestones: v1.1.0, v2.0.0 on Nov 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL