polartoolkit.Figure.add_points

polartoolkit.Figure.add_points#

Figure.add_points(points, cmap='viridis', fill='black', style='c.2c', pen=None, label=None, colorbar=True, **kwargs)[source]#

Add points to the figure.

Parameters:
  • points (DataFrame | GeoDataFrame) – DataFrame containing point data with columns ‘x’ and ‘y’ or ‘easting’ and ‘northing’.

  • cmap (str | bool) – Colormap to use for the points, by default “viridis”. If True, last used colormap will be used.

  • **kwargs (Any) – Additional keyword arguments.

  • fill (str)

  • style (str)

  • pen (str | None)

  • label (str | None)

  • colorbar (bool)

Return type:

None