Skip to content

Commit 1f506dd

Browse files
Meghan Jonesweiji14
authored and
Josh Sixsmith
committed
Add projection and region to grdview docstring (GenericMappingTools#1295)
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
1 parent 379fc5d commit 1f506dd

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pygmt/src/grdview.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,13 @@ def grdview(self, grid, **kwargs):
5858
grid : str or xarray.DataArray
5959
The file name of the input relief grid or the grid loaded as a
6060
DataArray.
61+
region : str or list
62+
*xmin/xmax/ymin/ymax*\ [**+r**][**+u**\ *unit*].
63+
Specify the :doc:`region </tutorials/regions>` of interest. When used
64+
with ``perspective``, optionally append */zmin/zmax* to indicate the
65+
range to use for the 3-D axes [Default is the region in the input
66+
grid].
67+
{J}
6168
zscale/zsize : float or str
6269
Set z-axis scaling or z-axis size.
6370
{B}

0 commit comments

Comments
 (0)