Revision: 7584
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=7584&view=rev
Author:   efiring
Date:     2009-08-29 17:48:37 +0000 (Sat, 29 Aug 2009)

Log Message:
-----------
Semilogx, semilogy ensure one axis is linear; patch by Tony Yu

Modified Paths:
--------------
    branches/v0_99_maint/lib/matplotlib/axes.py

Modified: branches/v0_99_maint/lib/matplotlib/axes.py
===================================================================
--- branches/v0_99_maint/lib/matplotlib/axes.py 2009-08-29 16:46:44 UTC (rev 
7583)
+++ branches/v0_99_maint/lib/matplotlib/axes.py 2009-08-29 17:48:37 UTC (rev 
7584)
@@ -3601,6 +3601,7 @@
              }
 
         self.set_xscale('log', **d)
+        self.set_yscale('linear')
         b =  self._hold
         self._hold = True # we've already processed the hold
         l = self.plot(*args, **kwargs)
@@ -3651,6 +3652,7 @@
              'nonposy': kwargs.pop('nonposy', 'mask'),
              }
         self.set_yscale('log', **d)
+        self.set_xscale('linear')
         b =  self._hold
         self._hold = True # we've already processed the hold
         l = self.plot(*args, **kwargs)


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

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to