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_plate_motion_vectors(ax_or_fig, ...[, ...])

Plot plate motion vectors (abstract method)

plot_pole(ax_or_fig, lon, lat, a95[, color])

Plot a pole with given longitude, latitude and a95 (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_plate_motion_vectors(ax_or_fig, gdf_motion_vectors: GeoDataFrame, projection=None, scale_factor=1.0, color='black', **kwargs)[source]

Plot plate motion vectors (abstract method)

abstractmethod plot_pole(ax_or_fig, lon, lat, a95, color='green')[source]

Plot a pole with given longitude, latitude and a95 (abstract method)

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)