|
From: <ef...@us...> - 2010-05-31 00:15:47
|
Revision: 8349
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8349&view=rev
Author: efiring
Date: 2010-05-31 00:14:03 +0000 (Mon, 31 May 2010)
Log Message:
-----------
set_yscale should autoscale only y, etc. closes 2872466
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/axes.py
Modified: trunk/matplotlib/lib/matplotlib/axes.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/axes.py 2010-05-30 23:58:27 UTC (rev 8348)
+++ trunk/matplotlib/lib/matplotlib/axes.py 2010-05-31 00:14:03 UTC (rev 8349)
@@ -2246,7 +2246,7 @@
%(scale_docs)s
"""
self.xaxis.set_scale(value, **kwargs)
- self.autoscale_view()
+ self.autoscale_view(scaley=False)
self._update_transScale()
def get_xticks(self, minor=False):
@@ -2420,7 +2420,7 @@
%(scale_docs)s
"""
self.yaxis.set_scale(value, **kwargs)
- self.autoscale_view()
+ self.autoscale_view(scalex=False)
self._update_transScale()
def get_yticks(self, minor=False):
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|