Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4172c77 commit 61c05d2Copy full SHA for 61c05d2
lib/matplotlib/axes/_base.py
@@ -3080,7 +3080,7 @@ def xaxis_inverted(self):
3080
"""
3081
return self.xaxis.get_inverted()
3082
3083
- def get_xbound(self):
+ def get_xbound(self, units=True):
3084
3085
Return the lower and upper x-axis bounds, in increasing order.
3086
@@ -3095,7 +3095,7 @@ def get_xbound(self):
3095
get_xlim, set_xlim
3096
invert_xaxis, xaxis_inverted
3097
3098
- left, right = self.get_xlim()
+ left, right = self.get_xlim(units=units)
3099
if left < right:
3100
return left, right
3101
else:
0 commit comments