(s)
| 189 | |
| 190 | |
| 191 | def validate_axisbelow(s): |
| 192 | try: |
| 193 | return validate_bool(s) |
| 194 | except ValueError: |
| 195 | if isinstance(s, str): |
| 196 | if s == 'line': |
| 197 | return 'line' |
| 198 | raise ValueError(f'{s!r} cannot be interpreted as' |
| 199 | ' True, False, or "line"') |
| 200 | |
| 201 | |
| 202 | def validate_dpi(s): |
no test coverage detected
searching dependent graphs…