Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Also use _TransformedBoundsLocator to position twin subplots.#22805

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
anntzer wants to merge1 commit intomatplotlib:mainfromanntzer:twinloc

Conversation

anntzer
Copy link
Contributor

i.e. position the twin "at the same position as the parent" instead of
trying to locate it as a subplot (which breaks if the parent is then
modified using make_axes_locatable).

Closes#5904 (despite#5904 (comment)).

PR Summary

PR Checklist

Tests and Styling

  • Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (installflake8-docstrings and runflake8 --docstring-convention=all).

Documentation

  • New features are documented, with examples if plot related.
  • New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).

i.e. position the twin "at the same position as the parent" instead oftrying to locate it as a subplot (which breaks if the parent is thenmodified using make_axes_locatable).
@anntzeranntzer added topic: geometry managerLayoutEngine, Constrained layout, Tight layout topic: axes labelsApr 8, 2022
@jklymak
Copy link
Member

Isn't this the same as#21413 ?

@anntzer
Copy link
ContributorAuthor

Ah yes, sorry I missed it.

@anntzeranntzer closed thisApr 8, 2022
@anntzeranntzer deleted the twinloc branchApril 8, 2022 17:29
@jklymak
Copy link
Member

Note that pr has a pretty big issue though with draw order.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
topic: axestopic: geometry managerLayoutEngine, Constrained layout, Tight layout
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Matplotlib colorbar moves second x axis drawn with twiny
2 participants
@anntzer@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp