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

Function _validate_toolbar

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

Source from the content-addressed store, hash-verified

316
317
318def _validate_toolbar(s):
319 s = ValidateInStrings(
320 'toolbar', ['None', 'toolbar2', 'toolmanager'], ignorecase=True)(s)
321 if s == 'toolmanager':
322 _api.warn_external(
323 "Treat the new Tool classes introduced in v1.5 as experimental "
324 "for now; the API and rcParam may change in future versions.")
325 return s
326
327
328def validate_color_or_inherit(s):

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…