Skip to content

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*. No newline at end of file
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