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

Skip to content

Commit c187ee2

Browse files
committed
removed unneeded draw command from tkagg
svn path=/trunk/matplotlib/; revision=4188
1 parent dfef86b commit c187ee2

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

lib/matplotlib/backends/backend_tkagg.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -549,9 +549,6 @@ def save_figure(self):
549549
fname, err)
550550
error_msg_tkpaint(msg)
551551

552-
#the enlarged figure prints to the canvas and freezes unless a redraw is forced
553-
self.canvas.draw()
554-
555552
def update(self):
556553
_focus = windowing.FocusManager()
557554
self._axes = self.canvas.figure.axes

0 commit comments

Comments
 (0)