diff --git a/pygmt/src/coast.py b/pygmt/src/coast.py index 0bb1a5ea4ed..916fcefa37a 100644 --- a/pygmt/src/coast.py +++ b/pygmt/src/coast.py @@ -281,7 +281,7 @@ def coast( >>> import pygmt >>> from pygmt.params import Axis >>> fig = pygmt.Figure() - >>> fig.coast() + >>> fig.coast( ... projection="M10c", # Set the Mercator projection and width to 10 cm ... region=[-10, 30, 30, 60], # Set the map region ... frame=Axis(annot=True), diff --git a/pygmt/src/grdcontour.py b/pygmt/src/grdcontour.py index f42796c3edc..5b1c2876afd 100644 --- a/pygmt/src/grdcontour.py +++ b/pygmt/src/grdcontour.py @@ -138,7 +138,7 @@ def grdcontour( ... ) >>> fig = pygmt.Figure() >>> fig.grdcontour( - ... grid=grid,s + ... grid=grid, ... levels=250, # Set the interval for contour lines ... annotation=1000, # Set the interval for annotated contour lines ... frame=Axis(annot=True),