Skip to content

Commit 34c4371

Browse files
authored
Merge pull request #24808 from meeseeksmachine/auto-backport-of-pr-24807-on-v3.6.x
Backport PR #24807 on branch v3.6.x (Axes.stem docstring document orientation as literals)
2 parents 323329a + 774e211 commit 34c4371

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy