Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Fix draw recursive loop when resizing figure containing Selector usin…
…g blit.
  • Loading branch information
ericpre committed May 19, 2021
commit 94a2f46f3cf0a6a621833fd3ac31b958e36e4910
3 changes: 2 additions & 1 deletion lib/matplotlib/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -1737,7 +1737,8 @@ def update_background(self, event):
self.canvas.draw()
self.background = self.canvas.copy_from_bbox(self.ax.bbox)
if needs_redraw:
self.update()
for artist in self.artists:
self.ax.draw_artist(artist)

def connect_default_events(self):
"""Connect the major canvas events to methods."""
Expand Down