@@ -1834,12 +1834,12 @@ def __init__(self, parent, help, title="Help"):
1834
1834
sizer = wx .BoxSizer (wx .VERTICAL )
1835
1835
grid_sizer = wx .FlexGridSizer (0 , 3 , 8 , 6 )
1836
1836
# create and add the entries
1837
- widths = [100 ,140 , 300 ]
1837
+ widths = [100 , 140 , 300 ]
1838
1838
bold = self .GetFont ().MakeBold ()
1839
- for r ,row in enumerate (help ):
1840
- for (col ,width ) in zip (row , widths ):
1839
+ for r , row in enumerate (help ):
1840
+ for (col , width ) in zip (row , widths ):
1841
1841
label = wx .StaticText (self , label = col )
1842
- if r == 0 :
1842
+ if r == 0 :
1843
1843
label .SetFont (bold )
1844
1844
label .Wrap (width )
1845
1845
grid_sizer .Add (label , 0 , 0 , 0 )
@@ -1858,10 +1858,6 @@ def OnClose(self, evt):
1858
1858
1859
1859
1860
1860
class HelpWx (backend_tools .ToolHelpBase ):
1861
- def trigger (self , * args ):
1862
- wx .MessageBox (self ._get_help_text ().replace ("\t " , " " ),
1863
- "Help" , style = wx .OK | wx .CENTRE ,
1864
- parent = self .figure .canvas .GetTopLevelParent ())
1865
1861
def trigger (self , * args ):
1866
1862
help = [("Action" ,"Shortcuts" , "Description" )]
1867
1863
help += self ._get_help_entries ()
0 commit comments