Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Backport PR #24807 on branch v3.6.x (Axes.stem docstring document orientation as literals) #24808

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2913,9 +2913,9 @@ def stem(self, *args, linefmt=None, markerfmt=None, basefmt=None, bottom=0,
basefmt : str, default: 'C3-' ('C2-' in classic mode)
A format string defining the properties of the baseline.

orientation : str, default: 'vertical'
orientation : {'vertical', 'horizontal'}, default: 'vertical'
If 'vertical', will produce a plot with stems oriented vertically,
otherwise the stems will be oriented horizontally.
If 'horizontal', the stems will be oriented horizontally.

bottom : float, default: 0
The y/x-position of the baseline (depending on orientation).
Expand Down