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

Function _picklable_class_constructor

lib/matplotlib/cbook.py:2423–2427  ·  view source on GitHub ↗

Internal helper for _make_class_factory.

(mixin_class, fmt, attr_name, base_class)

Source from the content-addressed store, hash-verified

2421
2422
2423def _picklable_class_constructor(mixin_class, fmt, attr_name, base_class):
2424 """Internal helper for _make_class_factory."""
2425 factory = _make_class_factory(mixin_class, fmt, attr_name)
2426 cls = factory(base_class)
2427 return cls.__new__(cls)
2428
2429
2430def _is_torch_array(x):

Callers

nothing calls this directly

Calls 2

_make_class_factoryFunction · 0.85
__new__Method · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…