sunpeek.common.plot_utils.annotation_bbox#
- sunpeek.common.plot_utils.annotation_bbox(box, xy, xycoords='figure fraction', xybox=(0, 0), boxcoords='offset points', box_alignment=(0, 1), frameon=False, pad=0)#
Returns a normal AnnotationBbox. This is just a helper to overcome the often-forgot pad=0 argument, which easily leads to misaligned artists.
- Return type:
AnnotationBbox