Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Complete documentation of grdimage #620

Merged
merged 18 commits into from
Sep 23, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Change grdimage aliases to no_clip (N) and nan_transparent (Q)
  • Loading branch information
weiji14 committed Sep 21, 2020
commit 8817749e4e78a78e336a1b5634448678915d8adf
10 changes: 5 additions & 5 deletions pygmt/base_plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,8 @@ def grdcontour(self, grid, **kwargs):
I="shading",
J="projection",
M="monochrome",
N="noclip",
Q="nan_alpha",
N="no_clip",
Q="nan_transparent",
R="region",
U="timestamp",
V="verbose",
Expand Down Expand Up @@ -424,11 +424,11 @@ def grdimage(self, grid, **kwargs):
{J}
monochrome : bool
Force conversion to monochrome image using the (television) YIQ
transformation. Cannot be used with *nan_alpha*.
noclip : bool
transformation. Cannot be used with *nan_transparent*.
no_clip : bool
Do not clip the image at the map boundary (only relevant for
non-rectangular maps).
nan_alpha : bool
nan_transparent : bool
Make grid nodes with z = NaN transparent, using the color-masking
feature in PostScript Level 3 (the PS device must support PS Level
3).
Expand Down