Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


invert_xaxis() accidentially disables autoscaling #1553

WeatherGod opened this Issue · 2 comments

3 participants

Benjamin Root Eric Firing Damon McDougall
Benjamin Root

the call to ax.invert_xaxis() (and the y-axis equivalent) blindly swaps the limits using set_xlim(). This sets autoscale to False. I think the autoscaling attribute should be left unchanged so that one can use invert_axis() prior to any plotting and still have the direction of the axis maintained. If others agree, I can quickly make a PR that fixes this in Axes and Axes3D.

Eric Firing
Benjamin Root WeatherGod referenced this issue from a commit in WeatherGod/matplotlib
Benjamin Root WeatherGod Added a test for #1553 d1db488
Damon McDougall

Closed by #1557.

Damon McDougall dmcdougall closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.