Skip to content

Commit 4c352c0

Browse files
committed
Alias dpi (E) for grdimage
1 parent b47ab35 commit 4c352c0

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

pygmt/base_plotting.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,7 @@ def grdcontour(self, grid, **kwargs):
305305
@use_alias(
306306
B="frame",
307307
C="cmap",
308+
E="dpi",
308309
I="shading",
309310
J="projection",
310311
R="region",
@@ -330,6 +331,13 @@ def grdimage(self, grid, **kwargs):
330331
The file name of the input grid or the grid loaded as a DataArray.
331332
{B}
332333
{CPT}
334+
dpi : int
335+
``[i|dpi]``.
336+
Sets the resolution of the projected grid that will be created if a
337+
map projection other than Linear or Mercator was selected [100]. By
338+
default, the projected grid will be of the same size (rows and
339+
columns) as the input file. Specify *i* to use the PostScript image
340+
operator to interpolate the image at the device resolution.
333341
{J}
334342
{R}
335343
{V}

0 commit comments

Comments
 (0)