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

Method __init__

lib/matplotlib/collections.py:2517–2526  ·  view source on GitHub ↗
(self, coordinates, *, antialiased=True, shading='flat',
                 **kwargs)

Source from the content-addressed store, hash-verified

2515 """
2516
2517 def __init__(self, coordinates, *, antialiased=True, shading='flat',
2518 **kwargs):
2519 kwargs.setdefault("pickradius", 0)
2520 super().__init__(coordinates=coordinates, shading=shading)
2521 Collection.__init__(self, **kwargs)
2522
2523 self._antialiased = antialiased
2524 self._bbox = transforms.Bbox.unit()
2525 self._bbox.update_from_data_xy(self._coordinates.reshape(-1, 2))
2526 self.set_mouseover(False)
2527
2528 def get_paths(self):
2529 if self._paths is None:

Callers

nothing calls this directly

Calls 4

unitMethod · 0.80
update_from_data_xyMethod · 0.80
set_mouseoverMethod · 0.80
__init__Method · 0.45

Tested by

no test coverage detected