organoid_tracker.util.mpl_helper module
- organoid_tracker.util.mpl_helper.line_infinite(ax: Axes, x1: float, y1: float, x2: float, y2: float, color: Tuple[float, float, float] | Tuple[float, float, float, float] | str | float = 'red', linewidth: int = 2, alpha: float = 1)
Draws a 2D line that extends a long while across the current view.
- organoid_tracker.util.mpl_helper.plot_multicolor(ax: Axes, x: List[float] | ndarray, y: List[float] | ndarray, *, colors: ndarray, linewidth: float = 2) LineCollection
Plots a multicolored line. The array named c must contain numbers between 0 and 1.