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

Skip to content

Backport PR #22691 on branch v3.5.x (FIX: remove toggle on QuadMesh cursor data) #22701

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

Conversation

meeseeksmachine
Copy link
Contributor

Backport PR #22691: FIX: remove toggle on QuadMesh cursor data

@lumberbot-app lumberbot-app bot added this to the v3.5.2 milestone Mar 25, 2022
@lumberbot-app lumberbot-app bot added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Mar 25, 2022

New in 3.5, `.QuadMesh.get_cursor_data` allows display of data values
under the cursor. However, this can be very slow for large meshes, so
by `.QuadMesh.set_mouseover` defaults to *False*.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
by `.QuadMesh.set_mouseover` defaults to *False*.
by ``.QuadMesh.set_mouseover`` defaults to *False*.

? As this doesn't exist in 3.5.

Copy link
Member

Choose a reason for hiding this comment

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

Or actually the attribute directly?

Copy link
Member

Choose a reason for hiding this comment

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

Since it doesn't exist in 3.5, this should be the attribute.

@tacaswell
Copy link
Member

The issue is that while obj.set_mouseover has existed for a long time, it is documented https://matplotlib.org/devdocs/api/_as_gen/matplotlib.artist.Artist.set_mouseover.html as Artist.set_mouseover and sphinx is not forwarding correctly.

@tacaswell tacaswell merged commit 9687a2a into matplotlib:v3.5.x Mar 29, 2022
@Carreau Carreau deleted the auto-backport-of-pr-22691-on-v3.5.x branch April 12, 2022 10:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants