Re: [Matplotlib-users] plot_date and legend

2008-05-01 Thread John Hunter
On Thu, May 1, 2008 at 4:32 PM, Michael Hearne <[EMAIL PROTECTED]> wrote: > legend(('s1','s2')) > > The resulting legend shows the symbols twice (two little red dots and > two blue ones). Does anyone else get this, and if so, do you know > what the problem is? You can tell the legend how many

Re: [Matplotlib-users] plot_date and legend

2008-05-01 Thread Michael Hearne
Contents of matplotlib.__version__" '0.98pre' My Matplotlib is from the SciPy SuperPack for Mac OS X from http://macinscience.org/?page_id=6 On May 1, 2008, at 3:32 PM, Michael Hearne wrote: > I'm noticing strange behavior with the legend function when used in > combination with matplotlib. I

[Matplotlib-users] plot_date and legend

2008-05-01 Thread Michael Hearne
I'm noticing strange behavior with the legend function when used in combination with matplotlib. If I do the following: import datetime from pylab import * date1 = datetime.date( 1952, 1, 1 ) date2 = datetime.date( 2004, 4, 12 ) delta = datetime.timedelta(days=100) dates = drange(date1, date2, d