Return the x-axis view limits. Returns ------- left, right : (float, float) The current x-axis limits in data coordinates. See Also -------- .Axes.set_xlim .Axes.set_xbound, .Axes.get_xbound .Axes.invert_xaxis, .A
(self)
| 3851 | auto=None) |
| 3852 | |
| 3853 | def get_xlim(self): |
| 3854 | """ |
| 3855 | Return the x-axis view limits. |
| 3856 | |
| 3857 | Returns |
| 3858 | ------- |
| 3859 | left, right : (float, float) |
| 3860 | The current x-axis limits in data coordinates. |
| 3861 | |
| 3862 | See Also |
| 3863 | -------- |
| 3864 | .Axes.set_xlim |
| 3865 | .Axes.set_xbound, .Axes.get_xbound |
| 3866 | .Axes.invert_xaxis, .Axes.xaxis_inverted |
| 3867 | |
| 3868 | Notes |
| 3869 | ----- |
| 3870 | The x-axis may be inverted, in which case the *left* value will |
| 3871 | be greater than the *right* value. |
| 3872 | """ |
| 3873 | return tuple(self.viewLim.intervalx) |
| 3874 | |
| 3875 | def _validate_converted_limits(self, limit, convert): |
| 3876 | """ |
no outgoing calls