From df180cdabf92293789833b98fd29ba21800292ab Mon Sep 17 00:00:00 2001 From: Michael Grund <23025878+michaelgrund@users.noreply.github.com> Date: Sun, 12 Sep 2021 16:13:32 +0200 Subject: [PATCH 1/2] Add missing aliases to pygmt.Figure.plot3d --- pygmt/src/plot3d.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/pygmt/src/plot3d.py b/pygmt/src/plot3d.py index 5bcfd23ba98..bb93bce607e 100644 --- a/pygmt/src/plot3d.py +++ b/pygmt/src/plot3d.py @@ -39,12 +39,18 @@ Y="yshift", Z="zvalue", a="aspatial", - i="incols", - l="label", + b="binary", c="panel", + d="nodata", + e="find", f="coltypes", + g="gap", + h="header", + i="incols", + l="label", p="perspective", t="transparency", + w="wrap", ) @kwargs_to_strings(R="sequence", c="sequence_comma", i="sequence_comma", p="sequence") def plot3d( @@ -162,14 +168,20 @@ def plot3d( ``color='+z'``. To apply it to the pen color, append **+z** to ``pen``. {a} + {b} {c} + {d} + {e} {f} + {g} + {h} {i} {l} {p} {t} *transparency* can also be a 1d array to set varying transparency for symbols, but this option is only valid if using x/y/z. + {w} """ # pylint: disable=too-many-locals kwargs = self._preprocess(**kwargs) # pylint: disable=protected-access From 97a50127689c1bdcc340702aa098a0be178f88a7 Mon Sep 17 00:00:00 2001 From: Michael Grund Date: Sun, 12 Sep 2021 16:19:35 +0200 Subject: [PATCH 2/2] formatting --- pygmt/src/plot3d.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pygmt/src/plot3d.py b/pygmt/src/plot3d.py index bb93bce607e..eb8e91ea371 100644 --- a/pygmt/src/plot3d.py +++ b/pygmt/src/plot3d.py @@ -50,7 +50,7 @@ l="label", p="perspective", t="transparency", - w="wrap", + w="wrap", ) @kwargs_to_strings(R="sequence", c="sequence_comma", i="sequence_comma", p="sequence") def plot3d(