Hello,

Could not get a legend shown on scatter function used plot:

In [4]: a = rand(100)

In [5]: b = rand(100)

In [22]: scatter(a,b, c=a, s=b, label="aaaa")
Out[22]: <matplotlib.collections.CircleCollection object at 0xa133dcc>

In [23]: scatter(a,b, c=a*5, s=b*5, label="cccc")
Out[23]: <matplotlib.collections.CircleCollection object at 0xa311e6c>

In [24]: legend()

at rev 7355.

with

Python 2.6 (r26:66714, Jun  8 2009)
IPython 0.10.bzr.r1163 -- An enhanced Interactive Python.

Any suggestions?


-- 
Gökhan
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to