Commit ab364af
Axes.stem docstring document orientation as literals (#24807)
* Axes.stem docstring document orientation as literals
We use `_api.check_in_list` in the method body, so arbitrary strings are
not accetable and will raise if it is not precisely "vertical" or
"horizontal".
This brings the docstring in line with this behavior.
Many other places which have an orientation kwarg are similarly
documented.
Co-authored-by: Tim Hoffmann <[email protected]>
Co-authored-by: Elliott Sales de Andrade <[email protected]>1 parent f28b843 commit ab364af
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2946 | 2946 | | |
2947 | 2947 | | |
2948 | 2948 | | |
2949 | | - | |
| 2949 | + | |
2950 | 2950 | | |
2951 | | - | |
| 2951 | + | |
2952 | 2952 | | |
2953 | 2953 | | |
2954 | 2954 | | |
| |||
0 commit comments