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

Function validate_ps_distiller

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

Source from the content-addressed store, hash-verified

504
505
506def validate_ps_distiller(s):
507 if isinstance(s, str):
508 s = s.lower()
509 if s in ('none', None, 'false', False):
510 return None
511 else:
512 return ValidateInStrings('ps.usedistiller', ['ghostscript', 'xpdf'])(s)
513
514
515# A validator dedicated to the named line styles, based on the items in

Callers

nothing calls this directly

Calls 1

ValidateInStringsClass · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…