@@ -51,11 +51,12 @@ def colorbar(self, **kwargs):
51
51
position : str
52
52
[**g**\|\ **j**\|\ **J**\|\ **n**\|\ **x**]\ *refpoint*
53
53
[**+w**\ *length*\ [/\ *width*]]\ [**+e**\ [**b**\|\ **f**][*length*]]
54
- [**+h**\|\ **v**][**+j**\ *justify*][**+m**\ [**a**\|\ **c**\|\ **l**\|\ **u**]]
54
+ [**+h**\|\ **v**][**+j**\ *justify*]
55
+ [**+m**\ [**a**\|\ **c**\|\ **l**\|\ **u**]]
55
56
[**+n**\ [*txt*]][**+o**\ *dx*\ [/*dy*]].
56
57
Defines the reference point on the map for the color scale using one of
57
- four coordinate systems: (1) Use *g* for map (user) coordinates, (2) use
58
- *j* or *J* for setting refpoint via a 2-char justification code
58
+ four coordinate systems: (1) Use *g* for map (user) coordinates, (2)
59
+ use *j* or *J* for setting refpoint via a 2-char justification code
59
60
that refers to the (invisible) map domain rectangle, (3) use *n*
60
61
for normalized (0-1) coordinates, or (4) use *x* for plot
61
62
coordinates (inches, cm, etc.). All but *x* requires both *region*
@@ -77,17 +78,17 @@ def colorbar(self, **kwargs):
77
78
separate in x- and y-direction, or individual side spacings between
78
79
scale and border. Append +i to draw a secondary, inner border as well.
79
80
We use a uniform gap between borders of 2p and the MAP_DEFAULTS_PEN
80
- unless other values are specified. Append +r to draw rounded rectangular
81
- borders instead, with a 6p corner radius. You can override this
82
- radius by appending another value. Finally, append +s to draw an
81
+ unless other values are specified. Append +r to draw rounded
82
+ rectangular borders instead, with a 6p corner radius. You can override
83
+ this radius by appending another value. Finally, append +s to draw an
83
84
offset background shaded region. Here, dx/dy indicates the shift
84
85
relative to the foreground frame [4p/-4p] and shade sets the fill
85
86
style to use for shading [gray50].
86
87
truncate : list or str
87
88
*zlo*/*zhi*.
88
- Truncate the incoming CPT so that the lowest and highest z-levels are to
89
- zlo and zhi. If one of these equal NaN then we leave that end of the CPT
90
- alone. The truncation takes place before the plotting.
89
+ Truncate the incoming CPT so that the lowest and highest z-levels are
90
+ to zlo and zhi. If one of these equal NaN then we leave that end of the
91
+ CPT alone. The truncation takes place before the plotting.
91
92
scale : float
92
93
Multiply all z-values in the CPT by the provided scale. By default
93
94
the CPT is used as is.
0 commit comments