Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions examples/tutorials/earth-relief.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@

########################################################################################
# Load sample Earth relief data for the entire globe at a resolution of 30 arc minutes.
# The other available resolutions are show at :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids`.
grid = pygmt.datasets.load_earth_relief(resolution="30m")
# The other available resolutions are show
# at :gmt-docs:`datasets/remote-data.html#global-earth-relief-grids`.
grid = pygmt.datasets.load_earth_relief(resolution="30m", registration="gridline")

########################################################################################
# Create a plot
Expand Down Expand Up @@ -95,8 +96,8 @@
#
# In addition to providing global data, the ``region`` argument for
# :meth:`pygmt.datasets.load_earth_relief` can be used to provide data for a specific
# area. The ``region`` argument is required for resolutions at 5 arc minutes or higher, and
# accepts a list (as in the example below) or a string. The geographic ranges are
# area. The ``region`` argument is required for resolutions at 5 arc minutes or higher,
# and accepts a list (as in the example below) or a string. The geographic ranges are
# passed as *xmin*/*xmax*/*ymin*/*ymax*.
#
# The example below uses data with a 5 arc minute resolution, and plots it on a
Expand Down
6 changes: 2 additions & 4 deletions examples/tutorials/regions.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,8 @@
fig.coast(
region="d",
projection="Cyl_stere/12c",
land="lightgray",
land="darkgray",
water="white",
borders="1/0.5p",
shorelines="1/0.5p",
frame="ag",
)
Expand All @@ -115,9 +114,8 @@
fig.coast(
region="g",
projection="Cyl_stere/12c",
land="lightgray",
land="darkgray",
water="white",
borders="1/0.5p",
shorelines="1/0.5p",
frame="ag",
)
Expand Down