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

Method __init__

lib/matplotlib/collections.py:1132–1149  ·  view source on GitHub ↗

Parameters ---------- paths : list of `.path.Path` The paths that will make up the `.Collection`. sizes : array-like The factor by which to scale each drawn `~.path.Path`. One unit squared in the Path's data space is scaled to be `

(self, paths, sizes=None, **kwargs)

Source from the content-addressed store, hash-verified

1130 """
1131
1132 def __init__(self, paths, sizes=None, **kwargs):
1133 """
1134 Parameters
1135 ----------
1136 paths : list of `.path.Path`
1137 The paths that will make up the `.Collection`.
1138 sizes : array-like
1139 The factor by which to scale each drawn `~.path.Path`. One unit
1140 squared in the Path's data space is scaled to be ``sizes**2``
1141 points when rendered.
1142 **kwargs
1143 Forwarded to `.Collection`.
1144 """
1145
1146 super().__init__(**kwargs)
1147 self.set_paths(paths)
1148 self.set_sizes(sizes)
1149 self.stale = True
1150
1151 def get_paths(self):
1152 return self._paths

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
set_pathsMethod · 0.45
set_sizesMethod · 0.45

Tested by

no test coverage detected