plot_polygon_idx#
- zeroheliumkit.src.plotting.plot_polygon_idx(geometry: Polygon | MultiPolygon, ax=None, color=None) None[source]#
Plots the index of each polygon in the given geometry on the specified axes.
- Parameters:
geometry (Polygon | MultiPolygon) – A Polygon or MultiPolygon 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.