Skip to content

Commit 29cc87c

Browse files
authored
Merge pull request #17686 from anntzer/wxtooltip
Fix tooltip for wx toolbar.
2 parents 1a2b8e9 + bea2808 commit 29cc87c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_wx.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1120,7 +1120,7 @@ def __init__(self, canvas):
11201120
-1,
11211121
bitmap=self._icon(f"{image_file}.png"),
11221122
bmpDisabled=wx.NullBitmap,
1123-
label=text, shortHelp=text, longHelp=tooltip_text,
1123+
label=text, shortHelp=tooltip_text,
11241124
kind=(wx.ITEM_CHECK if text in ["Pan", "Zoom"]
11251125
else wx.ITEM_NORMAL))
11261126
.Id)

0 commit comments

Comments
 (0)