Skip to content

Commit 8817749

Browse files
committed
Change grdimage aliases to no_clip (N) and nan_transparent (Q)
1 parent 42e2b28 commit 8817749

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pygmt/base_plotting.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -321,8 +321,8 @@ def grdcontour(self, grid, **kwargs):
321321
I="shading",
322322
J="projection",
323323
M="monochrome",
324-
N="noclip",
325-
Q="nan_alpha",
324+
N="no_clip",
325+
Q="nan_transparent",
326326
R="region",
327327
U="timestamp",
328328
V="verbose",
@@ -424,11 +424,11 @@ def grdimage(self, grid, **kwargs):
424424
{J}
425425
monochrome : bool
426426
Force conversion to monochrome image using the (television) YIQ
427-
transformation. Cannot be used with *nan_alpha*.
428-
noclip : bool
427+
transformation. Cannot be used with *nan_transparent*.
428+
no_clip : bool
429429
Do not clip the image at the map boundary (only relevant for
430430
non-rectangular maps).
431-
nan_alpha : bool
431+
nan_transparent : bool
432432
Make grid nodes with z = NaN transparent, using the color-masking
433433
feature in PostScript Level 3 (the PS device must support PS Level
434434
3).

0 commit comments

Comments
 (0)