obspy.imaging.maps._plot_cartopy_into_axes
- _plot_cartopy_into_axes(ax, lons, lats, size, color, bmap=None, labels=None, projection='global', resolution='l', continent_fill_color='0.8', water_fill_color='1.0', colormap=None, marker='o', title=None, adjust_aspect_to_colorbar=False, **kwargs)[source]
Creates a (or adds to existing) cartopy plot with a data point scatter plot in given axes.
See
plot_cartopy()
for details on most args/kwargs.- Parameters:
ax (
matplotlib.axes.Axes
orcartopy.mpl.geoaxes.GeoAxes
) – Existing matplotlib axes instance, optionally with previous cartopy plot. If a cartopy GeoAxes is provided, most setup steps will be skipped.bmap (
matplotlib.axes.Axes
) – Deprecated and unused. Whether ax is a plain matplotlib Axes or a cartopy GeoAxes will determine if cartopy related setup on the axis is skipped (setting up projection etc.).
- Return type:
- Returns:
Matplotlib path collection (e.g. to reuse for colorbars).