gplately.PlotEngine

class gplately.PlotEngine[source]

Bases: ABC

Abstract base class for map plotting. Do not use this base class directly. Use subclasses instead, such as CartopyPlotEngine or PygmtPlotEngine.

__init__()

Methods

__init__()

plot_geo_data_frame(ax_or_fig, gdf, **kwargs)

Plot GeoPandas GeoDataFrame object (abstract method)

plot_grid(ax_or_fig, grid[, projection, extent])

Plot a grid (abstract method).

plot_pygplates_features(ax_or_fig, features, ...)

Plot one or more pygplates feature(s) (abstract method)

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

Plot subduction zones with "teeth"(abstract method)

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

Plot GeoPandas GeoDataFrame object (abstract method)

abstractmethod plot_grid(ax_or_fig, grid, projection=None, extent=(-180, 180, -90, 90), **kwargs)[source]

Plot a grid (abstract method). See CartopyPlotEngine.plot_grid() and PygmtPlotEngine.plot_grid() for details.

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

Plot one or more pygplates feature(s) (abstract method)

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

Plot subduction zones with “teeth”(abstract method)