8000 ENH : add stale flag to Wedge · matplotlib/matplotlib@77450ac · GitHub
[go: up one dir, main page]

Skip to content

Commit 77450ac

Browse files
committed
ENH : add stale flag to Wedge
1 parent cb82a85 commit 77450ac

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
@@ -1047,22 +1047,27 @@ def _recompute_path(self):
10471047
def set_center(self, center):
10481048
self._path = None
10491049
self.center = center
1050+
self.stale = True
10501051

10511052
def set_radius(self, radius):
10521053
self._path = None
10531054
self.r = radius
1055+
self.stale = True
10541056

10551057
def set_theta1(self, theta1):
10561058
self._path = None
10571059
self.theta1 = theta1
1060+
self.stale = True
10581061

10591062
def set_theta2(self, theta2):
10601063
self._path = None
10611064
self.theta2 = theta2
1065+
self.stale = True
10621066

10631067
def set_width(self, width):
10641068
self._path = None
10651069
self.width = width
1070+
self.stale = True
10661071

10671072
def get_path(self):
10681073
if self._path is None:

0 commit comments

Comments
 (0)
0