User Guide
Reference
get_age_grid_cmap()
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”)