From 79cde1496cf8652149b7c075164456a858c37f09 Mon Sep 17 00:00:00 2001 From: ImportanceOfBeingErnest Date: Wed, 13 Jun 2018 13:07:34 +0200 Subject: [PATCH] Fix Patheditor example --- examples/event_handling/path_editor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/event_handling/path_editor.py b/examples/event_handling/path_editor.py index 727712609d34..1822e4fb68f3 100644 --- a/examples/event_handling/path_editor.py +++ b/examples/event_handling/path_editor.py @@ -74,7 +74,7 @@ def draw_callback(self, event): self.background = self.canvas.copy_from_bbox(self.ax.bbox) self.ax.draw_artist(self.pathpatch) self.ax.draw_artist(self.line) - self.canvas.blit(self.ax.bbox) + # Do not blit here, because this happens before the screen update def pathpatch_changed(self, pathpatch): 'this method is called whenever the pathpatchgon object is called' pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy