You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently Annotation.draw goes through _check_xy to check whether the
annotation should be drawn at all, and then through
_update_position_xytext to position itself. In order to save a single
call to _get_position_xy, it first calls _get_position_xy itself and
then passes it down to the helper functions, making them harder to
follow. Instead, just let _check_xy call _get_position_xy itself (and
even then, this is only needed for some values of annotation_clip), and
likewise for _update_position_xytext (which just becomes a call to
update_positions).
Also a small shortening of Text.update_bbox_position_size.
0 commit comments