Return a valid color arg.
(s)
| 326 | |
| 327 | |
| 328 | def validate_color_or_inherit(s): |
| 329 | """Return a valid color arg.""" |
| 330 | if cbook._str_equal(s, 'inherit'): |
| 331 | return s |
| 332 | return validate_color(s) |
| 333 | |
| 334 | |
| 335 | def validate_color_or_auto(s): |
nothing calls this directly
no test coverage detected
searching dependent graphs…