Commit 0f0efed
committed
DOC: Fix label type specification in parameter descriptions
- add missing "or list of str" in hist() docstring
- Use "optional" instead of "default: None"
See https://matplotlib.org/devdocs/devel/document.html
> If None is only used as a sentinel value for "parameter not specified",
> do not document it as the default. Depending on the context, give the
> actual default, or mark the parameter as optional if not specifying has
> no particular effect.1 parent f990868 commit 0f0efed
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3058 | 3058 | | |
3059 | 3059 | | |
3060 | 3060 | | |
3061 | | - | |
| 3061 | + | |
3062 | 3062 | | |
3063 | 3063 | | |
3064 | 3064 | | |
| |||
6831 | 6831 | | |
6832 | 6832 | | |
6833 | 6833 | | |
6834 | | - | |
| 6834 | + | |
6835 | 6835 | | |
6836 | 6836 | | |
6837 | 6837 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3610 | 3610 | | |
3611 | 3611 | | |
3612 | 3612 | | |
3613 | | - | |
| 3613 | + | |
3614 | 3614 | | |
3615 | 3615 | | |
3616 | 3616 | | |
| |||
0 commit comments