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.
1 parent 692a9fb commit e8eac49Copy full SHA for e8eac49
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