gplately.CartopyPlotEngine

class gplately.CartopyPlotEngine[source]

Bases: PlotEngine

Use Cartopy for map plotting

__init__()[source]

Methods

__init__()

plot_geo_data_frame(ax_or_fig, gdf, **kwargs)

Use Cartopy to plot geometries in a GeoDataFrame object onto a map

plot_pygplates_features(ax_or_fig, features, ...)

Not implemented yet

plot_subduction_zones(ax_or_fig, ...[, color])

Use Cartopy to plot subduction zones with "teeth" onto a map

plot_geo_data_frame(ax_or_fig, gdf: GeoDataFrame, **kwargs)[source]

Use Cartopy to plot geometries in a GeoDataFrame object onto a map

Parameters:
  • ax_or_fig (cartopy.mpl.geoaxes.GeoAxes) – Cartopy GeoAxes instance

  • gdf (GeoDataFrame) – GeoPandas GeoDataFrame object

plot_pygplates_features(ax_or_fig, features, **kwargs)[source]

Not implemented yet

plot_subduction_zones(ax_or_fig, gdf_subduction_left: GeoDataFrame, gdf_subduction_right: GeoDataFrame, color='blue', **kwargs)[source]

Use Cartopy to plot subduction zones with “teeth” onto a map

Parameters:
  • ax_or_fig (cartopy.mpl.geoaxes.GeoAxes) – Cartopy GeoAxes instance

  • gdf_subduction_left (GeoDataFrame) – subduction zone with “left” polarity

  • gdf_subduction_right (GeoDataFrame) – subduction zone with “right” polarity

  • color (str) – The colour used to fill the “teeth”.