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

Method draw

lib/matplotlib/collections.py:1688–1696  ·  view source on GitHub ↗
(self, renderer)

Source from the content-addressed store, hash-verified

1686
1687 @artist.allow_rasterization
1688 def draw(self, renderer):
1689 self.set_sizes(self._sizes, self.get_figure(root=True).dpi)
1690 self._transforms = [
1691 transforms.Affine2D(x).rotate(-self._rotation).get_matrix()
1692 for x in self._transforms
1693 ]
1694 # Explicitly not super().draw, because set_sizes must be called before
1695 # updating self._transforms.
1696 Collection.draw(self, renderer)
1697
1698
1699class StarPolygonCollection(RegularPolyCollection):

Callers

nothing calls this directly

Calls 5

set_sizesMethod · 0.45
get_figureMethod · 0.45
get_matrixMethod · 0.45
rotateMethod · 0.45
drawMethod · 0.45

Tested by

no test coverage detected