I'm back to developing with matplotlib after a bit of a hiatus. I am refactoring an app I wrote about two years ago. I suspect I have uncovered a bug in 0.90 which was not present in 0.87.7. The small test script, which I created to reproduce the problem, fails with the follow traceback in 0.90:
[EMAIL PROTECTED]:$ python debug.py Traceback (most recent call last): File "debug.py", line 43, in ? plot_date(jt2, f2, ':') File "/usr/lib/python2.4/site-packages/matplotlib/pylab.py", line 2064, in plot_date ret = gca().plot_date(*args, **kwargs) File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 2395, in plot_date self.xaxis_date(tz) File "/usr/lib/python2.4/site-packages/matplotlib/axes.py", line 1564, in xaxis_date formatter = AutoDateFormatter(locator) UnboundLocalError: local variable 'locator' referenced before assignment but running in 0.87.7 produces a figure with two traces. If only one trace is done, 0.90 produces a figure. I can drop back to 0.87.7 but I would prefer to continue working with 0.90. Glad to be back using Python and matplotlib! I'm running on Debian Etch on both machines. 0.90 is compiled from the latest tarball since Etch only has 0.87.7 available. Delbert
debug.zpi
Description: Zip archive
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users