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

Appearance settings

Commit 047b18e

Browse filesBrowse files
committed
Disable mouseover info for NonUniformImage.
Currently NonUniformImage just inherits get_cursor_data from the base class, resulting in nonsensical cursor info. While properly implementing NonUniformImage.get_cursor_data would be better, at least we can disable cursor info in the meantime.
1 parent 666e6cc commit 047b18e
Copy full SHA for 047b18e

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎lib/matplotlib/image.py

Copy file name to clipboardExpand all lines: lib/matplotlib/image.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,6 +1008,8 @@ def format_cursor_data(self, data):
10081008

10091009

10101010
class NonUniformImage(AxesImage):
1011+
mouseover = False # This class still needs its own get_cursor_data impl.
1012+
10111013
def __init__(self, ax, *, interpolation='nearest', **kwargs):
10121014
"""
10131015
Parameters

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.