Commit 5c8c9b5
committed
MNT: Deprecate other capitalization than "None" in matplotlibrc
The `*_or_None` validators have accepted any capitalization of the
string "none" as input. This is overly permissive and
will likely lead to conflicts in the future because we cannot
distinguish between resolving to `None` and `"none"` which may be need
for some parameters in the future.
Inspired by matplotlib#29481.1 parent 9e3ada3 commit 5c8c9b5
File tree
2 files changed
+15
-0
lines changed- doc/api/next_api_changes/deprecations
- lib/matplotlib
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
194 | 202 | | |
195 | 203 | | |
196 | 204 | | |
| |||
0 commit comments