Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix locator/formatter setting when removing shared Axes #13983

Merged
merged 2 commits into from Apr 20, 2019

Conversation

dstansby
Copy link
Member

When a shared Axes was removed from a plot, any other Axes it was shared with had their Axis locators/formatters set to the locator/formatter on the removed Axes. This PR makes sure that setting only happens if the locator/formatter has previously been manually set. This allows the locator/formatter to be automatically set in the future by e.g. units being plotted.

Fixes #12853

@dstansby dstansby added this to the v3.2.0 milestone Apr 18, 2019
@tacaswell tacaswell merged commit 31a103a into matplotlib:master Apr 20, 2019
@tacaswell
Copy link
Member

Thanks!

To some degree this is adding epicycles to an already overly-complicated system, but the full re-write is not imminent so this is the practical thing to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove()ing a shared axes prevents the remaining axes from using unit-provided formatters
3 participants