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 (pandas.DataFrame or geopandas.GeoDataFrame) – DataFrame containing point data with columns ‘x’ and ‘y’ or ‘easting’ and ‘northing’.
cmap (str or bool, optional) – 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)colorbar (
bool)
- Return type: