Skip to content

Commit 1aaae20

Browse files
committed
ENH : add stale flag to PathCollection
1 parent 771977f commit 1aaae20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/collections.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,9 +825,11 @@ def __init__(self, paths, sizes=None, **kwargs):
825825
Collection.__init__(self, **kwargs)
826826
self.set_paths(paths)
827827
self.set_sizes(sizes)
828+
self.stale = True
828829

829830
def set_paths(self, paths):
830831
self._paths = paths
832+
self.stale = True
831833

832834
def get_paths(self):
833835
return self._paths

0 commit comments

Comments
 (0)