Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

invert_xaxis() accidentially disables autoscaling #1553

Closed
WeatherGod opened this Issue · 2 comments

3 participants

Benjamin Root Eric Firing Damon McDougall
Benjamin Root
Collaborator

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
Owner
Benjamin Root WeatherGod referenced this issue from a commit in WeatherGod/matplotlib
Benjamin Root WeatherGod Added a test for #1553 d1db488
Damon McDougall
Collaborator

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.