Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 692a9fb + e8eac49 commit 851d6a0Copy full SHA for 851d6a0
1 file changed
lib/matplotlib/widgets.py
@@ -2157,6 +2157,8 @@ def update_background(self, event):
2157
# `release` can call a draw event even when `ignore` is True.
2158
if not self.useblit:
2159
return
2160
+ if self.canvas.is_saving():
2161
+ return # saving does not use blitting
2162
# Make sure that widget artists don't get accidentally included in the
2163
# background, by re-rendering the background if needed (and then
2164
# re-re-rendering the canvas with the visible widget artists).
0 commit comments