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

Method __init__

lib/matplotlib/scale.py:783–787  ·  view source on GitHub ↗
(self, nonpositive='mask')

Source from the content-addressed store, hash-verified

781 input_dims = output_dims = 1
782
783 def __init__(self, nonpositive='mask'):
784 super().__init__()
785 _api.check_in_list(['mask', 'clip'], nonpositive=nonpositive)
786 self._nonpositive = nonpositive
787 self._clip = {"clip": True, "mask": False}[nonpositive]
788
789 def transform_non_affine(self, values):
790 """logit transform (base 10), masked or clipped"""

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected