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

Function validate_whiskers

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

Source from the content-addressed store, hash-verified

493
494
495def validate_whiskers(s):
496 try:
497 return _listify_validator(validate_float, n=2)(s)
498 except (TypeError, ValueError):
499 try:
500 return float(s)
501 except ValueError as e:
502 raise ValueError("Not a valid whisker value [float, "
503 "(float, float)]") from e
504
505
506def validate_ps_distiller(s):

Callers

nothing calls this directly

Calls 1

_listify_validatorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…