Skip to content

Commit fb10768

Browse files
committed
Fix docstring
1 parent c2fcfd1 commit fb10768

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

pygmt/src/colorbar.py

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,6 @@ def colorbar( # noqa: PLR0913
145145
146146
$aliases
147147
- B = frame
148-
- D = position, **+w**: length/width, **+h**/**+v**: orientation,
149-
**+r**: reverse, **+n**: nan_rectangle/nan_rectangle_position,
150-
**+e**: sidebar_triangles/scalebar_triangles_height,
151-
**+m**: move_text/label_as_column
152148
- F = box
153149
- G = truncate
154150
- I = shading
@@ -161,6 +157,14 @@ def colorbar( # noqa: PLR0913
161157
- p = perspective
162158
- t = transparency
163159
160+
.. hlist::
161+
:columns: 1
162+
163+
- D = position, **+w**: length/width, **+h**/**+v**: orientation,
164+
**+r**: reverse, **+n**: nan_rectangle/nan_rectangle_position,
165+
**+e**: sidebar_triangles/scalebar_triangles_height,
166+
**+m**: move_text/label_as_column
167+
164168
Parameters
165169
----------
166170
$cmap

0 commit comments

Comments
 (0)