Skip to content

Commit 273dc26

Browse files
DOC: Fix "triangles_height" to "triangle_height" in docs of Figure.colorbar (#4368)
Fix typo in parameter name
1 parent 653f6e1 commit 273dc26

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

pygmt/src/colorbar.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -214,9 +214,9 @@ def colorbar( # noqa: PLR0913
214214
and **F** entries in the CPT. If no such entries exist, then the system default
215215
colors for **B** and **F** are used instead (:gmt-term:`COLOR_BACKGROUND` and
216216
:gmt-term:`COLOR_FOREGROUND`).
217-
triangles_height
218-
Height of the triangles for back- and foreground colors [Default is half
219-
of the bar width].
217+
triangle_height
218+
Height of the triangles for back- and foreground colors [Default is half of the
219+
bar width].
220220
move_text
221221
Move text (annotations, label, and unit) to opposite side. Accept a sequence of
222222
strings containing one or more of ``"annotations"``, ``"label"``, and

0 commit comments

Comments
 (0)