Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aac4744

Browse files
committed
remove comments and docstrings
1 parent 328b169 commit aac4744

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

lib/matplotlib/backend_managers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,6 @@ def _handle_toggle(self, tool, sender, canvasevent, data):
294294

295295
# Keep track of the toggled tool in the radio_group
296296
self._toggled[radio_group] = toggled
297-
# for a in self.canvas.figure.get_axes():
298-
# a.set_navigate_mode(self._toggled)
299297

300298
def _get_cls_to_instantiate(self, callback_class):
301299
# Find the class that corresponds to the tool

lib/matplotlib/backends/backend_tkagg.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -930,8 +930,8 @@ def set_cursor(self, cursor):
930930

931931

932932
class ToolbarTk(ToolContainerBase, Tk.Frame):
933-
def __init__(self, navigation, window):
934-
ToolContainerBase.__init__(self, navigation)
933+
def __init__(self, toolmanager, window):
934+
ToolContainerBase.__init__(self, toolmanager)
935935
xmin, xmax = self.toolmanager.canvas.figure.bbox.intervalx
936936
height, width = 50, xmax - xmin
937937
Tk.Frame.__init__(self, master=window,

0 commit comments

Comments
 (0)