Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit774e211

Browse files
ksundenmeeseeksmachine
authored andcommitted
Backport PR#24807: Axes.stem docstring document orientation as literals
1 parent323329a commit774e211

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)

[8]ページ先頭

©2009-2025 Movatter.jp