Skip to content

Commit ff7807f

Browse files
ksundenmeeseeksmachine
authored andcommitted
Backport PR matplotlib#24807: Axes.stem docstring document orientation as literals
1 parent 87c3bd7 commit ff7807f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2907,9 +2907,9 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
29072907
basefmt : str, default: 'C3-' ('C2-' in classic mode)
29082908
A format string defining the properties of the baseline.
29092909
2910-
orientation : str, default: 'vertical'
2910+
orientation : {'vertical', 'horizontal'}, default: 'vertical'
29112911
If 'vertical', will produce a plot with stems oriented vertically,
2912-
otherwise the stems will be oriented horizontally.
2912+
If 'horizontal', the stems will be oriented horizontally.
29132913
29142914
bottom : float, default: 0
29152915
The y/x-position of the baseline (depending on orientation).

0 commit comments

Comments
 (0)