uvex_transients.phase_space.plotting.core.label_once#

uvex_transients.phase_space.plotting.core.label_once(ax, contours, fmt) → None[source]#

Label each contour level once, at the middle of its longest segment.

The default placement repeats a label along a line, and lines that run almost vertically through a log-scaled panel then collect overlapping labels.

Parameters: