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

Skip to content

Commit ac17d9f

Browse files
timhoffmmeeseeksmachine
authored andcommitted
Backport PR #28231: DOC: we do not need the blit call in on_draw
1 parent 43c9548 commit ac17d9f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

galleries/examples/event_handling/path_editor.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,6 @@ def on_draw(self, event):
9494
self.background = self.canvas.copy_from_bbox(self.ax.bbox)
9595
self.ax.draw_artist(self.pathpatch)
9696
self.ax.draw_artist(self.line)
97-
self.canvas.blit(self.ax.bbox)
9897

9998
def on_button_press(self, event):
10099
"""Callback for mouse button presses."""

0 commit comments

Comments
 (0)