Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 17c5041

Browse files
committed
Merged revisions 8549 via svnmerge from
https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/branches/v1_0_maint ........ r8549 | efiring | 2010-07-14 07:37:10 -1000 (Wed, 14 Jul 2010) | 2 lines Axes.margin: bugfix--return correct values. Thanks to Georges Schutz. ........ svn path=/trunk/matplotlib/; revision=8550
1 parent d34dde8 commit 17c5041

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1684,7 +1684,7 @@ def margins(self, *args, **kw):
16841684
16851685
"""
16861686
if not args and not kw:
1687-
return self._ymargin, self._ymargin
1687+
return self._xmargin, self._ymargin
16881688

16891689
tight = kw.pop('tight', True)
16901690
mx = kw.pop('x', None)

0 commit comments

Comments
 (0)