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

Method __init__

lib/matplotlib/collections.py:2083–2095  ·  view source on GitHub ↗

Parameters ---------- sizes : float or array-like The area of each circle in points^2. **kwargs Forwarded to `.Collection`.

(self, sizes, **kwargs)

Source from the content-addressed store, hash-verified

2081 _factor = np.pi ** (-1/2)
2082
2083 def __init__(self, sizes, **kwargs):
2084 """
2085 Parameters
2086 ----------
2087 sizes : float or array-like
2088 The area of each circle in points^2.
2089 **kwargs
2090 Forwarded to `.Collection`.
2091 """
2092 super().__init__(**kwargs)
2093 self.set_sizes(sizes)
2094 self.set_transform(transforms.IdentityTransform())
2095 self._paths = [mpath.Path.unit_circle()]
2096
2097
2098class EllipseCollection(Collection):

Callers

nothing calls this directly

Calls 4

unit_circleMethod · 0.80
__init__Method · 0.45
set_sizesMethod · 0.45
set_transformMethod · 0.45

Tested by

no test coverage detected