Skip to content

Commit 14ba332

Browse files
committed
Alias monochrome (M), noclip (N) and nan_alpha (Q) for grdimage
1 parent b7029c5 commit 14ba332

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

pygmt/base_plotting.py

+13
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,9 @@ def grdcontour(self, grid, **kwargs):
308308
E="dpi",
309309
I="shading",
310310
J="projection",
311+
M="monochrome",
312+
N="noclip",
313+
Q="nan_alpha",
311314
R="region",
312315
U="timestamp",
313316
V="verbose",
@@ -367,6 +370,16 @@ def grdimage(self, grid, **kwargs):
367370
columns) as the input file. Specify *i* to use the PostScript image
368371
operator to interpolate the image at the device resolution.
369372
{J}
373+
monochrome : bool
374+
Force conversion to monochrome image using the (television) YIQ
375+
transformation. Cannot be used with *nan_alpha*.
376+
noclip : bool
377+
Do not clip the image at the map boundary (only relevant for
378+
non-rectangular maps).
379+
nan_alpha : bool
380+
Make grid nodes with z = NaN transparent, using the color-masking
381+
feature in PostScript Level 3 (the PS device must support PS Level
382+
3).
370383
{R}
371384
{V}
372385
{n}

0 commit comments

Comments
 (0)