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

Method __init__

lib/matplotlib/projections/polar.py:148–163  ·  view source on GitHub ↗

Parameters ---------- scale_transform : `~matplotlib.transforms.Transform` Scaling transform for the data. This is used to remove any scaling from the radial view limits. limits : `~matplotlib.transforms.BboxBase` View limits of th

(self, scale_transform, limits)

Source from the content-addressed store, hash-verified

146 any scaling (e.g. log scaling) has been removed.
147 """
148 def __init__(self, scale_transform, limits):
149 """
150 Parameters
151 ----------
152 scale_transform : `~matplotlib.transforms.Transform`
153 Scaling transform for the data. This is used to remove any scaling
154 from the radial view limits.
155 limits : `~matplotlib.transforms.BboxBase`
156 View limits of the data. The only part of its bounds that is used
157 is the y limits (for the radius limits).
158 """
159 super().__init__()
160 self._scale_transform = scale_transform
161 self._limits = limits
162 self.set_children(scale_transform, limits)
163 self._mtx = None
164
165 __str__ = mtransforms._make_str_method("_scale_transform", "_limits")
166

Callers

nothing calls this directly

Calls 2

set_childrenMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected