MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / validate_axisbelow

Function validate_axisbelow

lib/matplotlib/rcsetup.py:191–199  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

189
190
191def 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
202def validate_dpi(s):

Callers 1

set_axisbelowMethod · 0.90

Calls 1

validate_boolFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…