earth_points

gdt.core.plot.lib.earth_points(lat, lon, proj, color='C0', alpha=1.0, size=10, **kwargs)[source]

Plot a point or points on the Earth.

Parameters:
  • lat (np.array) – Array of latitudes

  • lon (np.array) – Array of longitudes

  • proj (GeoAxesSubplot) – The Cartopy projection

  • color (str, optional) – The color of the point(s)

  • alpha (float, optional) – The alpha opacity of the point(s)

  • size (float, optional) – The size of the point(s). Default is 10.

  • kwargs (optional) – Other plotting keywords.

Returns:

(list of matplotlib.collections.PathCollection)