Revision: 8549
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8549&view=rev
Author:   efiring
Date:     2010-07-14 17:37:10 +0000 (Wed, 14 Jul 2010)

Log Message:
-----------
Axes.margin: bugfix--return correct values.  Thanks to Georges Schutz.

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

Modified: branches/v1_0_maint/lib/matplotlib/axes.py
===================================================================
--- branches/v1_0_maint/lib/matplotlib/axes.py  2010-07-14 13:51:15 UTC (rev 
8548)
+++ branches/v1_0_maint/lib/matplotlib/axes.py  2010-07-14 17:37:10 UTC (rev 
8549)
@@ -1684,7 +1684,7 @@
 
         """
         if not args and not kw:
-            return self._ymargin, self._ymargin
+            return self._xmargin, self._ymargin
 
         tight = kw.pop('tight', True)
         mx = kw.pop('x', None)


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 Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to