Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Cleanup viewlims example. #27594

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

Merged
merged 1 commit into from
Jan 4, 2024
Merged

Cleanup viewlims example. #27594

merged 1 commit into from
Jan 4, 2024

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Jan 3, 2024

  • No need to subclass Rectangle; a plain callback is fine.
  • ax.get_xlim/ylim seems more idiomatic than accessing viewLims.
  • Skip duplicated code in initialization.

Closes #25979. Supersedes #26166.

PR summary

PR checklist

@anntzer anntzer added the Documentation: examples files in galleries/examples label Jan 3, 2024
- No need to subclass Rectangle; a plain callback is fine.
- ax.get_xlim/ylim seems more idiomatic than accessing viewLims.
- Skip duplicated code in initialization.
@oscargus oscargus merged commit c287b9f into matplotlib:main Jan 4, 2024
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jan 4, 2024
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Jan 4, 2024
@anntzer anntzer deleted the vl branch January 4, 2024 09:28
oscargus added a commit that referenced this pull request Jan 4, 2024
…594-on-v3.8.x

Backport PR #27594 on branch v3.8.x (Cleanup viewlims example.)
oscargus added a commit that referenced this pull request Jan 4, 2024
…594-on-v3.8.2-doc

Backport PR #27594 on branch v3.8.2-doc (Cleanup viewlims example.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: examples files in galleries/examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Doc]: Cleanup viewlims example
2 participants