@@ -174,6 +174,7 @@ def __setstate__(self, state):
174
174
from .cbook import _InstanceMethodPickler
175
175
if isinstance (self ._offset , _InstanceMethodPickler ):
176
176
self ._offset = self ._offset .get_instancemethod ()
177
+ self .stale = True
177
178
178
179
def set_figure (self , fig ):
179
180
"""
@@ -199,6 +200,7 @@ def set_offset(self, xy):
199
200
accepts x, y, tuple, or a callable object.
200
201
"""
201
202
self ._offset = xy
203
+ self .stale = True
202
204
203
205
def get_offset (self , width , height , xdescent , ydescent , renderer ):
204
206
"""
@@ -218,6 +220,7 @@ def set_width(self, width):
218
220
accepts float
219
221
"""
220
222
self .width = width
223
+ self .stale = True
221
224
222
225
def set_height (self , height ):
223
226
"""
@@ -226,6 +229,7 @@ def set_height(self, height):
226
229
accepts float
227
230
"""
228
231
self .height = height
232
+ self .stale = True
229
233
230
234
def get_visible_children (self ):
231
235
"""
@@ -273,6 +277,7 @@ def draw(self, renderer):
273
277
c .draw (renderer )
274
278
275
279
bbox_artist (self , renderer , fill = False , props = dict (pad = 0. ))
280
+ self .stale = False
276
281
277
282
278
283
class PackerBase (OffsetBox ):
0 commit comments