gplately.plot.get_age_grid_cmap

gplately.plot.get_age_grid_cmap()[source]

Return a matplotlib colormap object from the GMT agegrid.cpt file.

Use the Python code below to access the agegrid.cpt file. .. code-block:: python

from importlib.resources import files cpt_file = files(“gplately”).joinpath(“data”, “agegrid.cpt”)