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 baf7b16

Browse filesBrowse files
authored
Fixes bug where tooltip info is incorrectly retrieved when tooltip info is not none (#986)
1 parent 7075e46 commit baf7b16
Copy full SHA for baf7b16

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎fastplotlib/tools/_cursor.py‎

Copy file name to clipboardExpand all lines: fastplotlib/tools/_cursor.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ def position(self, pos: tuple[float, float]):
265265
): # some graphics don't support tooltips, ex: Text
266266
if graphic.tooltip_format is not None:
267267
# custom formatter
268-
info = graphic.tooltip_format
268+
info = graphic.tooltip_format(pick_info)
269269
else:
270270
# default formatter for this graphic
271271
info = graphic.format_pick_info(pick_info)

0 commit comments

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