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 83b322a commit a8934dcCopy full SHA for a8934dc
1 file changed
lib/matplotlib/widgets.py
@@ -1488,7 +1488,10 @@ def _press(self, event):
1488
self.rect.set_visible(self.visible)
1489
if self.span_stays:
1490
self.stay_rect.set_visible(False)
1491
-
+ # really force a draw so that the stay rect is not in
1492
+ # the blit background
1493
+ if self.useblit:
1494
+ self.canvas.draw()
1495
xdata, ydata = self._get_data(event)
1496
if self.direction == 'horizontal':
1497
self.pressv = xdata
0 commit comments