sunpeek.common.plot_utils.get_xy_below#

sunpeek.common.plot_utils.get_xy_below(artist, vsep=20)#

Given some artist, get the vertical position where the “next lower” element can be drawn, in figure fraction. The next element is: the artist’s bottom value minus some vertical separation (given in points).

Return type:

Tuple (x, y) (or left, top) of the "next lower" element, in figure fraction coordinates.