Skip to content

Commit 92b7fbd

Browse files
committed
Alias projection (J), region (R), verbose (V), x/yshift (X/Y) for subplot
1 parent 8283f65 commit 92b7fbd

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

pygmt/src/subplot.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,14 @@
1616
A="autolabel",
1717
B="frame",
1818
C="clearance",
19+
J="projecton",
1920
M="margins",
21+
R="region",
2022
S="layout",
2123
T="title",
24+
V="verbose",
25+
X="xshift",
26+
Y="yshift",
2227
)
2328
@kwargs_to_strings(Ff="sequence", Fs="sequence", M="sequence")
2429
def subplot(self, nrows=1, ncols=1, **kwargs):
@@ -68,6 +73,7 @@ def subplot(self, nrows=1, ncols=1, **kwargs):
6873
your tag numbers using lowercase Roman numerals; use **+R** for
6974
uppercase Roman numerals [Arabic numerals]. Append **+v** to increase
7075
tag numbers vertically down columns [horizontally across rows].
76+
{B}
7177
clearance : str
7278
``[side]clearance``.
7379
Reserve a space of dimension *clearance* between the margin and the
@@ -81,6 +87,7 @@ def subplot(self, nrows=1, ncols=1, **kwargs):
8187
apply to the selected (active) subplot. **Note**: Common options
8288
**x_offset** and **y_offset* are not available during subplots; use
8389
**clearance** instead.
90+
{J}
8491
margins : tuple
8592
This is margin space that is added between neighboring subplots (i.e.,
8693
the interior margins) in addition to the automatic space added for tick
@@ -96,6 +103,7 @@ def subplot(self, nrows=1, ncols=1, **kwargs):
96103
opposing sides (e.g., east plus west or south plus north margins)
97104
[Default is half the primary annotation font size, giving the full
98105
annotation font size as the default gap].
106+
{R}
99107
layout : str or list
100108
Set subplot layout for shared axes. May be set separately for rows
101109
(**R**) and columns (**C**). E.g. ``layout=['Rl', 'Cb']``.
@@ -121,6 +129,8 @@ def subplot(self, nrows=1, ncols=1, **kwargs):
121129
title : str
122130
Overarching heading for the entire figure. Font is determined by
123131
setting ``FONT_HEADING``.
132+
{V}
133+
{XY}
124134
125135
Yields
126136
------

0 commit comments

Comments
 (0)