@@ -1454,6 +1454,7 @@ def set_radius(self, radius):
1454
1454
ACCEPTS: float
1455
1455
"""
1456
1456
self .width = self .height = 2 * radius
1457
+ self .stale = True
1457
1458
1458
1459
def get_radius (self ):
1459
1460
'return the radius of the circle'
@@ -2457,6 +2458,7 @@ def __init__(self, xy, width, height,
2457
2458
2458
2459
self ._mutation_scale = mutation_scale
2459
2460
self ._mutation_aspect = mutation_aspect
2461
+ self .stale = True
2460
2462
2461
2463
@docstring .dedent_interpd
2462
2464
def set_boxstyle (self , boxstyle = None , ** kw ):
@@ -2490,6 +2492,7 @@ def set_boxstyle(self, boxstyle=None, **kw):
2490
2492
self ._bbox_transmuter = boxstyle
2491
2493
else :
2492
2494
self ._bbox_transmuter = BoxStyle (boxstyle , ** kw )
2495
+ self .stale = True
2493
2496
2494
2497
def set_mutation_scale (self , scale ):
2495
2498
"""
@@ -2498,6 +2501,7 @@ def set_mutation_scale(self, scale):
2498
2501
ACCEPTS: float
2499
2502
"""
2500
2503
self ._mutation_scale = scale
2504
+ self .stale = True
2501
2505
2502
2506
def get_mutation_scale (self ):
2503
2507
"""
@@ -2512,6 +2516,7 @@ def set_mutation_aspect(self, aspect):
2512
2516
ACCEPTS: float
2513
2517
"""
2514
2518
self ._mutation_aspect = aspect
2519
+ self .stale = True
2515
2520
2516
2521
def get_mutation_aspect (self ):
2517
2522
"""
@@ -2559,6 +2564,7 @@ def set_x(self, x):
2559
2564
ACCEPTS: float
2560
2565
"""
2561
2566
self ._x = x
2567
+ self .stale = True
2562
2568
2563
2569
def set_y (self , y ):
2564
2570
"""
@@ -2567,6 +2573,7 @@ def set_y(self, y):
2567
2573
ACCEPTS: float
2568
2574
"""
2569
2575
self ._y = y
2576
+ self .stale = True
2570
2577
2571
2578
def set_width (self , w ):
2572
2579
"""
@@ -2575,6 +2582,7 @@ def set_width(self, w):
2575
2582
ACCEPTS: float
2576
2583
"""
2577
2584
self ._width = w
2585
+ self .stale = True
2578
2586
2579
2587
def set_height (self , h ):
2580
2588
"""
@@ -2583,6 +2591,7 @@ def set_height(self, h):
2583
2591
ACCEPTS: float
2584
2592
"""
2585
2593
self ._height = h
2594
+ self .stale = True
2586
2595
2587
2596
def set_bounds (self , * args ):
2588
2597
"""
@@ -2598,6 +2607,7 @@ def set_bounds(self, *args):
2598
2607
self ._y = b
2599
2608
self ._width = w
2600
2609
self ._height = h
2610
+ self .stale = True
2601
2611
2602
2612
def get_bbox (self ):
2603
2613
return transforms .Bbox .from_bounds (self ._x , self ._y ,
0 commit comments