Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5338d9c commit 7371b52Copy full SHA for 7371b52
lib/matplotlib/backends/backend_gtk3.py
@@ -495,7 +495,7 @@ def _get_toolbar(self):
495
496
def _get_toolmanager(self):
497
# must be initialised after toolbar has been setted
498
- if rcParams['toolbar'] != 'toolbar2':
+ if rcParams['toolbar'] == 'toolmanager':
499
toolmanager = ToolManager(self.canvas)
500
else:
501
toolmanager = None
lib/matplotlib/backends/backend_tkagg.py
@@ -566,7 +566,7 @@ def _get_toolbar(self):
566
return toolbar
567
568
569
570
571
572
0 commit comments