Note
Click here to download the full example code
ShorelinesΒΆ
Use pygmt.Figure.coast
to display shorelines as black lines.
Out:
<IPython.core.display.Image object>
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.853 seconds)