From 289cf53e17e287758dcf4f15c3fd533bce7cc4e5 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 12 Feb 2021 08:21:25 +0000 Subject: [PATCH 1/2] Remove country borders and change land color to dark gray in plotting regions tutorial --- examples/tutorials/regions.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/tutorials/regions.py b/examples/tutorials/regions.py index 3cc1a88a286..95d516a9acd 100644 --- a/examples/tutorials/regions.py +++ b/examples/tutorials/regions.py @@ -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", ) @@ -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", ) From 35b270ae6e2dfa5fa2749c5feda8865083c86340 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 12 Feb 2021 08:24:19 +0000 Subject: [PATCH 2/2] Change Earth relief dataset to use gridline registration because it is cached --- examples/tutorials/earth-relief.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/examples/tutorials/earth-relief.py b/examples/tutorials/earth-relief.py index d818e24264c..e14179ed49d 100644 --- a/examples/tutorials/earth-relief.py +++ b/examples/tutorials/earth-relief.py @@ -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 @@ -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