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

Class _MinimalArtist

lib/matplotlib/axes/_base.py:5097–5117  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5095
5096 """
5097 class _MinimalArtist:
5098 def get_rasterized(self):
5099 return True
5100
5101 def get_agg_filter(self):
5102 return None
5103
5104 def __init__(self, figure, artists):
5105 self.figure = figure
5106 self.artists = artists
5107
5108 def get_figure(self, root=False):
5109 if root:
5110 return self.figure.get_figure(root=True)
5111 else:
5112 return self.figure
5113
5114 @martist.allow_rasterization
5115 def draw(self, renderer):
5116 for a in self.artists:
5117 a.draw(renderer)
5118
5119 return _MinimalArtist(figure, artists).draw(renderer)

Callers 1

_draw_rasterizedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…