polartoolkit.geoviews_points

Contents

polartoolkit.geoviews_points#

geoviews_points(points, points_z=None, points_color='red', points_cmap='viridis', epsg=None, hemisphere=None, **kwargs)[source]#

Add points to a geoviews map instance. :param points: points to plot on the map, by default None :type points: DataFrame :param points_z: column name to color the points by, by default None :type points_z: str | None :param points_color: color for the points, by default “red” :type points_color: str :param points_cmap: colormap to use to color the points based on points_z, by default “viridis” :type points_cmap: str :param hemisphere: set whether to plot in “north” hemisphere (EPSG:3413) or “south” hemisphere

(EPSG:3031), can be set manually, or will read from the environment variable: “POLARTOOLKIT_HEMISPHERE”

Parameters:
  • epsg (str | None) – set which EPSG projection to use for plotting, can be set manually, or will read from the environment variable: “POLARTOOLKIT_EPSG”, by default None

  • kwargs (Any)

Returns:

the instance of points

Return type:

Any