@@ -1428,6 +1428,7 @@ def set_radius(self, radius):
1428
1428
ACCEPTS: float
1429
1429
"""
1430
1430
self .width = self .height = 2 * radius
1431
+ self .stale = True
1431
1432
1432
1433
def get_radius (self ):
1433
1434
'return the radius of the circle'
@@ -2431,6 +2432,7 @@ def __init__(self, xy, width, height,
2431
2432
2432
2433
self ._mutation_scale = mutation_scale
2433
2434
self ._mutation_aspect = mutation_aspect
2435
+ self .stale = True
2434
2436
2435
2437
@docstring .dedent_interpd
2436
2438
def set_boxstyle (self , boxstyle = None , ** kw ):
@@ -2464,6 +2466,7 @@ def set_boxstyle(self, boxstyle=None, **kw):
2464
2466
self ._bbox_transmuter = boxstyle
2465
2467
else :
2466
2468
self ._bbox_transmuter = BoxStyle (boxstyle , ** kw )
2469
+ self .stale = True
2467
2470
2468
2471
def set_mutation_scale (self , scale ):
2469
2472
"""
@@ -2472,6 +2475,7 @@ def set_mutation_scale(self, scale):
2472
2475
ACCEPTS: float
2473
2476
"""
2474
2477
self ._mutation_scale = scale
2478
+ self .stale = True
2475
2479
2476
2480
def get_mutation_scale (self ):
2477
2481
"""
@@ -2486,6 +2490,7 @@ def set_mutation_aspect(self, aspect):
2486
2490
ACCEPTS: float
2487
2491
"""
2488
2492
self ._mutation_aspect = aspect
2493
+ self .stale = True
2489
2494
2490
2495
def get_mutation_aspect (self ):
2491
2496
"""
@@ -2533,6 +2538,7 @@ def set_x(self, x):
2533
2538
ACCEPTS: float
2534
2539
"""
2535
2540
self ._x = x
2541
+ self .stale = True
2536
2542
2537
2543
def set_y (self , y ):
2538
2544
"""
@@ -2541,6 +2547,7 @@ def set_y(self, y):
2541
2547
ACCEPTS: float
2542
2548
"""
2543
2549
self ._y = y
2550
+ self .stale = True
2544
2551
2545
2552
def set_width (self , w ):
2546
2553
"""
@@ -2549,6 +2556,7 @@ def set_width(self, w):
2549
2556
ACCEPTS: float
2550
2557
"""
2551
2558
self ._width = w
2559
+ self .stale = True
2552
2560
2553
2561
def set_height (self , h ):
2554
2562
"""
@@ -2557,6 +2565,7 @@ def set_height(self, h):
2557
2565
ACCEPTS: float
2558
2566
"""
2559
2567
self ._height = h
2568
+ self .stale = True
2560
2569
2561
2570
def set_bounds (self , * args ):
2562
2571
"""
@@ -2572,6 +2581,7 @@ def set_bounds(self, *args):
2572
2581
self ._y = b
2573
2582
self ._width = w
2574
2583
self ._height = h
2584
+ self .stale = True
2575
2585
2576
2586
def get_bbox (self ):
2577
2587
return transforms .Bbox .from_bounds (self ._x , self ._y ,
0 commit comments