8000 Fix inverted x-axis bug. · heeres/matplotlib@2de53cd · GitHub
[go: up one dir, main page]

Skip to content

Commit 2de53cd

Browse files
committed
Fix inverted x-axis bug.
svn path=/branches/transforms/; revision=4600
1 parent 77aef99 commit 2de53cd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1599,7 +1599,7 @@ def set_xlim(self, xmin=None, xmax=None, emit=True, **kwargs):
15991599
if xmin is None: xmin = old_xmin
16001600
if xmax is None: xmax = old_xmax
16011601

1602-
xmin, xmax = mtransforms.nonsingular(xmin, xmax)
1602+
xmin, xmax = mtransforms.nonsingular(< 48C9 span class="pl-s1">xmin, xmax, increasing=False)
16031603
xmin, xmax = self.xaxis.limit_range_for_scale(xmin, xmax)
16041604

16051605
self.viewLim.intervalx = (xmin, xmax)

0 commit comments

Comments
 (0)
0