bug???

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])

thanks,

Jeff

···

Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.

Yes, this is a known bug that is fixed in the svn version of
matplolib. Thanks for the report.

JDH

···

On 5/30/07, Jeff Peery <jeffpeery@...9...> 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])