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

Skip to content

Commit 076653f

Browse files
committed
Delete commented-out code
1 parent 31d2c2f commit 076653f

2 files changed

Lines changed: 1 addition & 136 deletions

File tree

lib/matplotlib/backends/backend_agg.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -418,15 +418,11 @@ def draw(self):
418418

419419
toolbar = self.toolbar
420420
try:
421-
# if toolbar:
422-
# toolbar.set_cursor(cursors.WAIT)
423421
self.figure.draw(self.renderer)
424422
# A GUI class may be need to update a window using this draw, so
425423
# don't forget to call the superclass.
426424
super().draw()
427425
finally:
428-
# if toolbar:
429-
# toolbar.set_cursor(toolbar._lastCursor)
430426
RendererAgg.lock.release()
431427

432428
def get_renderer(self, cleared=False):

0 commit comments

Comments
 (0)