Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d7b0219

Browse files
committed
ENH : add stale flag to Wedge
1 parent 22f5c93 commit d7b0219

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/matplotlib/patches.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,22 +1021,27 @@ def _recompute_path(self):
10211021
def set_center(self, center):
10221022
self._path = None
10231023
self.center = center
1024+
self.stale = True
10241025

10251026
def set_radius(self, radius):
10261027
self._path = None
10271028
self.r = radius
1029+
self.stale = True
10281030

10291031
def set_theta1(self, theta1):
10301032
self._path = None
10311033
self.theta1 = theta1
1034+
self.stale = True
10321035

10331036
def set_theta2(self, theta2):
10341037
self._path = None
10351038
self.theta2 = theta2
1039+
self.stale = True
10361040

10371041
def set_width(self, width):
10381042
self._path = None
10391043
self.width = width
1044+
self.stale = True
10401045

10411046
def get_path(self):
10421047
if self._path is None:

0 commit comments

Comments
 (0)