On 5/30/07, Jeff Peery <[EMAIL PROTECTED]> wrote: > Hello, I'm getting this error when using two consecutive plot_dates(): > > File "C:\Python24\lib\site-packages\matplotlib\axes.py", > line 1565, in xaxis_d ate > formatter = AutoDateFormatter(locator) > UnboundLocalError: local variable 'locator' referenced before assignment > > I've tested using just three lines of code: > > From pylab import * > plot_date([783746, 783747, 783748], [1,2,3]) > plot_date([783749, 783750, 783751], [1,2,3])
Yes, this is a known bug that is fixed in the svn version of matplolib. Thanks for the report. JDH ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users