Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 83b322a

Browse filesBrowse files
committed
FIX #5680 span selector + blit + span_stays broken
The rect properties for the 'live' rect were being forwarded re-used for the stay artist, however if blitting is used, then 'animated' is set which exclude the artist from the normal draw tree.
1 parent 47dded2 commit 83b322a
Copy full SHA for 83b322a

File tree

Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-0
lines changed

‎lib/matplotlib/widgets.py

Copy file name to clipboardExpand all lines: lib/matplotlib/widgets.py
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1473,6 +1473,7 @@ def new_axes(self, ax):
14731473
transform=trans,
14741474
visible=False,
14751475
**self.rectprops)
1476+
self.stay_rect.set_animated(False)
14761477
self.ax.add_patch(self.stay_rect)
14771478

14781479
self.ax.add_patch(self.rect)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.