Revision: 4197
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=4197&view=rev
Author:   mdboom
Date:     2007-11-09 12:59:47 -0800 (Fri, 09 Nov 2007)

Log Message:
-----------
Bugfix: [ 1757315 ] ValueError: Cannot set nonpositive limits with log
transform.  The axes scales were not getting set back to "linear" when
cla() is called, so autoscale_limits gets confused on the next call to
plot().

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/axes.py

Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py     2007-11-09 20:37:57 UTC (rev 
4196)
+++ trunk/matplotlib/lib/matplotlib/axes.py     2007-11-09 20:59:47 UTC (rev 
4197)
@@ -720,6 +720,8 @@
 
         self.xaxis.cla()
         self.yaxis.cla()
+        self.set_xscale('linear')
+        self.set_yscale('linear')
 
         self.dataLim.ignore(1)
         self.callbacks = cbook.CallbackRegistry(('xlim_changed', 
'ylim_changed'))


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to