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

Method __init__

lib/matplotlib/scale.py:530–540  ·  view source on GitHub ↗
(self, base, linthresh, linscale)

Source from the content-addressed store, hash-verified

528 input_dims = output_dims = 1
529
530 def __init__(self, base, linthresh, linscale):
531 super().__init__()
532 if base <= 1.0:
533 raise ValueError("'base' must be larger than 1")
534 if linthresh <= 0.0:
535 raise ValueError("'linthresh' must be positive")
536 if linscale <= 0.0:
537 raise ValueError("'linscale' must be positive")
538 self.base = base
539 self.linthresh = linthresh
540 self.linscale = linscale
541
542 @_api.deprecated("3.11", name="invlinthresh", obj_type="attribute",
543 alternative=".inverted().transform(linthresh)")

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected