Skip to content

Commit

Permalink
add default value to docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Conengmo committed May 6, 2024
1 parent 8a19309 commit b311fd2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions branca/colormap.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class ColorMap(MacroElement):
The right bound of the color scale.
caption: str
A caption to draw with the colormap.
text_color: str
text_color: str, default "black"
The color for the text.
max_labels : int, default 10
Maximum number of legend tick labels
Expand Down Expand Up @@ -255,7 +255,7 @@ class LinearColormap(ColorMap):
Values higher than `vmax` will be bound directly to `colors[-1]`.
caption: str
A caption to draw with the colormap.
text_color: str
text_color: str, default "black"
The color for the text.
max_labels : int, default 10
Maximum number of legend tick labels
Expand Down Expand Up @@ -500,7 +500,7 @@ class StepColormap(ColorMap):
Values higher than `vmax` will be bound directly to `colors[-1]`.
caption: str
A caption to draw with the colormap.
text_color: str
text_color: str, default "black"
The color for the text.
max_labels : int, default 10
Maximum number of legend tick labels
Expand Down

0 comments on commit b311fd2

Please sign in to comment.