gplately.PlotEngine
- class gplately.PlotEngine[source]
Bases:
ABCAbstract base class for map plotting. Do not use this base class directly. Use subclasses instead, such as
CartopyPlotEngineorPygmtPlotEngine.- __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()andPygmtPlotEngine.plot_grid()for details.