Skip to content

Commit 8bc19ec

Browse files
committed
PRF: change draw on release to a draw_idle
1 parent a8934dc commit 8bc19ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/widgets.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1514,7 +1514,7 @@ def _release(self, event):
15141514
self.stay_rect.set_height(self.rect.get_height())
15151515
self.stay_rect.set_visible(True)
15161516

1517-
self.canvas.draw()
1517+
self.canvas.draw_idle()
15181518
vmin = self.pressv
15191519
xdata, ydata = self._get_data(event)
15201520
if self.direction == 'horizontal':

0 commit comments

Comments
 (0)