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

Method __call__

lib/matplotlib/axes/_base.py:113–119  ·  view source on GitHub ↗
(self, ax, renderer)

Source from the content-addressed store, hash-verified

111 self._transform = transform
112
113 def __call__(self, ax, renderer):
114 # Subtracting transSubfigure will typically rely on inverted(),
115 # freezing the transform; thus, this needs to be delayed until draw
116 # time as transSubfigure may otherwise change after this is evaluated.
117 return mtransforms.TransformedBbox(
118 mtransforms.Bbox.from_bounds(*self._bounds),
119 self._transform - ax.get_figure(root=False).transSubfigure)
120
121
122def _process_plot_format(fmt, *, ambiguous_fmt_datakey=False):

Callers

nothing calls this directly

Calls 2

from_boundsMethod · 0.80
get_figureMethod · 0.45

Tested by

no test coverage detected