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 63e0329 commit 0056a47Copy full SHA for 0056a47
lib/matplotlib/widgets.py
@@ -2172,6 +2172,8 @@ def update_background(self, event):
2172
# `release` can call a draw event even when `ignore` is True.
2173
if not self.useblit:
2174
return
2175
+ if self.canvas.is_saving():
2176
+ return # saving does not use blitting
2177
# Make sure that widget artists don't get accidentally included in the
2178
# background, by re-rendering the background if needed (and then
2179
# re-re-rendering the canvas with the visible widget artists).
0 commit comments