Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 480243e commit e0e26e8Copy full SHA for e0e26e8
lib/matplotlib/offsetbox.py
@@ -862,6 +862,7 @@ def add_artist(self, a):
862
'Add any :class:`~matplotlib.artist.Artist` to the container box'
863
self._children.append(a)
864
a.set_transform(self.get_transform())
865
+ self.stale = True
866
867
def get_transform(self):
868
"""
@@ -888,6 +889,7 @@ def set_offset(self, xy):
888
889
890
self.offset_transform.clear()
891
self.offset_transform.translate(xy[0], xy[1])
892
893
894
def get_offset(self):
895
@@ -932,6 +934,7 @@ def draw(self, renderer):
932
934
c.draw(renderer)
933
935
936
bbox_artist(self, renderer, fill=False, props=dict(pad=0.))
937
+ self.stale = False
938
939
940
class AnchoredOffsetbox(OffsetBox):
0 commit comments