mpl.offsetbox.AnchoredOffsetbox.set_bbox_to_anchor¶
-
AnchoredOffsetbox.set_bbox_to_anchor(bbox, transform=None)[source]¶ set the bbox that the child will be anchored.
bbox can be a Bbox instance, a list of [left, bottom, width, height], or a list of [left, bottom] where the width and height will be assumed to be zero. The bbox will be transformed to display coordinate by the given transform.