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

Skip to content

Conversation

LangQi99
Copy link
Contributor

@LangQi99 LangQi99 commented Sep 10, 2025

PR summary

Closes #30541

Ctrl+Wheel zoom with fixed axes ratio
y+Wheelzoom y
x+Wheelzoom x

PR checklist

@LangQi99 LangQi99 changed the title feat: support x/y-axis zoom ENH: support x/y-axis zoom Sep 10, 2025
@LangQi99 LangQi99 marked this pull request as ready for review September 10, 2025 14:59
Copy link
Member

@timhoffm timhoffm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, I think this is the right approach, but let's see where the discussion in #30541 lsands.

@tacaswell tacaswell added this to the v3.11.0 milestone Sep 11, 2025
LangQi99 and others added 2 commits September 12, 2025 11:21
"X" would be generated by "Shift+x"

Co-authored-by: Tim Hoffmann <[email protected]>
"X" would be generated by "Shift+x"

Co-authored-by: Tim Hoffmann <[email protected]>
@LangQi99
Copy link
Contributor Author

Thanks! @timhoffm

@LangQi99
Copy link
Contributor Author

LangQi99 commented Sep 12, 2025

I noticed that some new CI checks are now failing.

https://github.com/matplotlib/matplotlib/pull/30543/commits/0a744f0ba180dca0a73bf351db89796a9854c7d6

I was wondering if this is an expected outcome, or if there's something new I need to adjust on my end? Any guidance would be much appreciated!

@timhoffm
Copy link
Member

timhoffm commented Sep 12, 2025

The stubtest failure is unrelated to this PR. - Likely a change in mypy, which recently released v1.18 - That can be handled independently (opened #30551 for that).

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

Successfully merging this pull request may close these issues.

[ENH]: Zooming single axis
3 participants