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 7371b52

Browse filesBrowse files
NelleVQuLogic
authored andcommitted
Merge pull request #7409 from OceanWolf/fix-tbar-None
FIX: MPL should not use new tool manager unless explicited asked for. Closes #7404
1 parent 5338d9c commit 7371b52
Copy full SHA for 7371b52

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎lib/matplotlib/backends/backend_gtk3.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_gtk3.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ def _get_toolbar(self):
495495

496496
def _get_toolmanager(self):
497497
# must be initialised after toolbar has been setted
498-
if rcParams['toolbar'] != 'toolbar2':
498+
if rcParams['toolbar'] == 'toolmanager':
499499
toolmanager = ToolManager(self.canvas)
500500
else:
501501
toolmanager = None

‎lib/matplotlib/backends/backend_tkagg.py

Copy file name to clipboardExpand all lines: lib/matplotlib/backends/backend_tkagg.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ def _get_toolbar(self):
566566
return toolbar
567567

568568
def _get_toolmanager(self):
569-
if rcParams['toolbar'] != 'toolbar2':
569+
if rcParams['toolbar'] == 'toolmanager':
570570
toolmanager = ToolManager(self.canvas)
571571
else:
572572
toolmanager = None

0 commit comments

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