import pygmt fig = pygmt.Figure() fig.coast(region=[-180, 180, -90, 90], projection="Winkelmann") fig.show()
import pygmt fig = pygmt.Figure() fig.basemap(region=[-180, 180, -90, 90], projection="Winkelmann", frame=["afg"]) fig.coast(shorelines=True, land="lightgray", water="skyblue", resolution='h') fig.show()This code creates a Figure object and adds a basemap with an Afghanistan-centered frame. Coastline data is added with shoreline features and a blue and gray color scheme. The finished figure is displayed using the `show()` method. Overall, pygmt is a powerful package library for creating professional-looking geographic maps and plots in Python.