Skip to content

Commit 9735c78

Browse files
authored
Merge pull request #28231 from tacaswell/doc/fix_path_editor
DOC: we do not need the blit call in on_draw
2 parents 80b08bd + a567e5b commit 9735c78

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

galleries/examples/event_handling/path_editor.py

-1
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)