plot_line_idx_in_polygon#
- zeroheliumkit.src.plotting.plot_line_idx_in_polygon(poly: Polygon | MultiPolygon, ax=None, color=None) None[source]#
Plots the index of each line in the given polygon on the specified axes.
- Parameters:
poly (Polygon | MultiPolygon) – A Polygon object representing the geometry.
ax – The axes on which to plot the index. If None, the current axes will be used.
color – The color of the index annotation. If None, a default color will be used.