Re: [Matplotlib-users] Trouble with scatter and legend

2008-08-28 Thread John Hunter
On Thu, Aug 28, 2008 at 1:34 PM, Nils Wagner <[EMAIL PROTECTED]> wrote: > Please find attached the output (test.png). > The order of the legend entries is wrong. Am I missing > something ? OK, now I see your point. auto-legending doesn't respect the order of the plots across different artist ty

Re: [Matplotlib-users] Trouble with scatter and legend

2008-08-28 Thread Nils Wagner
On Thu, 28 Aug 2008 13:29:07 -0500 "John Hunter" <[EMAIL PROTECTED]> wrote: On Thu, Aug 28, 2008 at 12:14 PM, Nils Wagner <[EMAIL PROTECTED]> wrote: Hi all, I am wondering if I can use scatter in connection with legend (attached test for details). I am using the latest svn version. Your ex

Re: [Matplotlib-users] Trouble with scatter and legend

2008-08-28 Thread John Hunter
On Thu, Aug 28, 2008 at 12:14 PM, Nils Wagner <[EMAIL PROTECTED]> wrote: > Hi all, > > I am wondering if I can use scatter in connection with legend > (attached test for details). I am using the latest svn version. Your example works for me -- we recently added support for autolegending of scatter

[Matplotlib-users] Trouble with scatter and legend

2008-08-28 Thread Nils Wagner
Hi all, I am wondering if I can use scatter in connection with legend (attached test for details). I am using the latest svn version. Any pointer would be appreciated. Cheers, Nils from scipy.optimize import * from numpy import array, sum, linspace from pylab import plot, scatter,