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

Method __init__

lib/matplotlib/colors.py:2920–2928  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

2918 vars(self))
2919
2920 def __init__(self, *args, **kwargs):
2921 ba = bound_init_signature.bind(*args, **kwargs)
2922 ba.apply_defaults()
2923 super().__init__(
2924 **{k: ba.arguments.pop(k) for k in ["vmin", "vmax", "clip"]})
2925 self._scale = functools.partial(
2926 scale_cls, *scale_args, **dict(scale_kwargs_items))(
2927 axis=None, **ba.arguments)
2928 self._trf = self._scale.get_transform()
2929
2930 __init__.__signature__ = bound_init_signature.replace(parameters=[
2931 inspect.Parameter("self", inspect.Parameter.POSITIONAL_OR_KEYWORD),

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
popMethod · 0.45
get_transformMethod · 0.45

Tested by

no test coverage detected