Skip to content

Commit c618d05

Browse files
committed
ENH : add stale flag to PathCollection
1 parent ee30cf3 commit c618d05

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
@@ -804,9 +804,11 @@ def __init__(self, paths, sizes=None, **kwargs):
804804
Collection.__init__(self, **kwargs)
805805
self.set_paths(paths)
806806
self.set_sizes(sizes)
807+
self.stale = True
807808

808809
def set_paths(self, paths):
809810
self._paths = paths
811+
self.stale = True
810812

811813
def get_paths(self):
812814
return self._paths

0 commit comments

Comments
 (0)