From 6118554662e6d1c0229aded82193924554ce03fc Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 16 Nov 2026 14:51:35 +0800 Subject: [PATCH] Fix two typos in Figure.coast and Figure.grdcontour doctests --- pygmt/src/coast.py | 2 +- pygmt/src/grdcontour.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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),