File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -295,8 +295,7 @@ def remove_rubberband(self):
295295
296296class ConfigureSubplotsGTK (backend_tools .ConfigureSubplotsBase ):
297297 def trigger (self , * args ):
298- _NavigationToolbar2GTK .configure_subplots (
299- self ._make_classic_style_pseudo_toolbar (), None )
298+ _NavigationToolbar2GTK .configure_subplots (self , None )
300299
301300
302301class _BackendGTK (_Backend ):
Original file line number Diff line number Diff line change @@ -934,8 +934,7 @@ def trigger(self, *args):
934934@backend_tools ._register_tool_class (FigureCanvasTk )
935935class ConfigureSubplotsTk (backend_tools .ConfigureSubplotsBase ):
936936 def trigger (self , * args ):
937- NavigationToolbar2Tk .configure_subplots (
938- self ._make_classic_style_pseudo_toolbar ())
937+ NavigationToolbar2Tk .configure_subplots (self )
939938
940939
941940@backend_tools ._register_tool_class (FigureCanvasTk )
Original file line number Diff line number Diff line change @@ -985,9 +985,12 @@ def set_message(self, s):
985985
986986@backend_tools ._register_tool_class (FigureCanvasQT )
987987class ConfigureSubplotsQt (backend_tools .ConfigureSubplotsBase ):
988+ def __init__ (self , * args , ** kwargs ):
989+ super ().__init__ (* args , ** kwargs )
990+ self ._subplot_dialog = None
991+
988992 def trigger (self , * args ):
989- NavigationToolbar2QT .configure_subplots (
990- self ._make_classic_style_pseudo_toolbar ())
993+ NavigationToolbar2QT .configure_subplots (self )
991994
992995
993996@backend_tools ._register_tool_class (FigureCanvasQT )
Original file line number Diff line number Diff line change @@ -1242,8 +1242,7 @@ def set_message(self, s):
12421242@backend_tools ._register_tool_class (_FigureCanvasWxBase )
12431243class ConfigureSubplotsWx (backend_tools .ConfigureSubplotsBase ):
12441244 def trigger (self , * args ):
1245- NavigationToolbar2Wx .configure_subplots (
1246- self ._make_classic_style_pseudo_toolbar ())
1245+ NavigationToolbar2Wx .configure_subplots (self )
12471246
12481247
12491248@backend_tools ._register_tool_class (_FigureCanvasWxBase )
You can’t perform that action at this time.
0 commit comments