Skip to content

Commit

Permalink
Add common alias "verbose" (V) to grdlandmask and savefig (#1343)
Browse files Browse the repository at this point in the history
Co-authored-by: Wei Ji <[email protected]>
  • Loading branch information
sean0921 and weiji14 authored Jun 29, 2021
1 parent efbfbf6 commit d90b3fc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pygmt/figure.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ def region(self):
I="icc_gray",
T="fmt",
Q="anti_aliasing",
V="verbose",
)
@kwargs_to_strings()
def psconvert(self, **kwargs):
Expand Down Expand Up @@ -185,6 +186,7 @@ def psconvert(self, **kwargs):
both an EPS and a PDF file. Using **F** creates a multi-page PDF
file from the list of input PS or PDF files. It requires the
``prefix`` parameter.
{V}
"""
kwargs = self._preprocess(**kwargs)
# Default cropping the figure to True
Expand Down
2 changes: 2 additions & 0 deletions pygmt/src/grdlandmask.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
G="outgrid",
I="spacing",
R="region",
V="verbose",
r="registration",
)
@kwargs_to_strings(R="sequence")
Expand All @@ -44,6 +45,7 @@ def grdlandmask(**kwargs):
in.
{I}
{R}
{V}
{r}
Returns
Expand Down

0 comments on commit d90b3fc

Please sign in to comment.