8000 Backport PR #24807: Axes.stem docstring document orientation as literals · matplotlib/matplotlib@774e211 · GitHub
[go: up one dir, main page]

Skip to content

Commit 774e211

Browse files
ksundenmeeseeksmachine
authored andcommitted
Backport PR #24807: Axes.stem docstring document orientation as literals
1 parent 323329a commit 774e211

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
@@ -2913,9 +2913,9 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
29132913
basefmt : str, default: 'C3-' ('C2-' in classic mode)
29142914
A format string defining the properties of the baseline.
29152915
2916-
orientation : str, default: 'vertical'
2916+
orientation : {'vertical', 'horizontal'}, default: 'vertical'
29172917
If 'vertical', will produce a plot with stems oriented vertically,
2918-
otherwise the stems will be oriented horizontally.
2918+
If 'horizontal', the stems will be oriented horizontally.
29192919
29202920
bottom : float, default: 0
29212921
The y/x-position of the baseline (depending on orientation).

0 commit comments

Comments
 (0)
0