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 dde0763 commit 36994e0Copy full SHA for 36994e0
1 file changed
lib/matplotlib/widgets.py
@@ -2119,7 +2119,12 @@ def onmove(self, event):
2119
self.linev.set_visible(False)
2120
self.lineh.set_visible(False)
2121
if self.needclear:
2122
- self.canvas.draw()
+ background = self._load_blit_background()
2123
+ if self.useblit and background is not None:
2124
+ self.canvas.restore_region(background)
2125
+ self.canvas.blit(self.ax.bbox)
2126
+ else:
2127
+ self.canvas.draw()
2128
self.needclear = False
2129
return
2130
self.needclear = True
0 commit comments