ShorelinesΒΆ

Use pygmt.Figure.coast to display shorelines as black lines.

../../_images/sphx_glr_shorelines_001.png
import pygmt

fig = pygmt.Figure()
# Make a global Mollweide map with automatic ticks
fig.basemap(region="g", projection="W8i", frame=True)
# Display the shorelines as black lines with 0.5 point thickness
fig.coast(shorelines="0.5p,black")
fig.show()

Total running time of the script: ( 0 minutes 0.968 seconds)

Gallery generated by Sphinx-Gallery