ShorelinesΒΆ

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

shorelines

Out:

<IPython.core.display.Image object>

import pygmt

fig = pygmt.Figure()
# Make a global Mollweide map with automatic ticks
fig.basemap(region="g", projection="W15c", 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 1.372 seconds)

Gallery generated by Sphinx-Gallery