MCPcopy
hub / github.com/matplotlib/matplotlib / get_figure

Method get_figure

lib/matplotlib/axes/_base.py:5108–5112  ·  view source on GitHub ↗
(self, root=False)

Source from the content-addressed store, hash-verified

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):

Callers 15

__init__Method · 0.45
__init__Method · 0.45
apply_callbackFunction · 0.45
__call__Method · 0.45
set_subplotspecMethod · 0.45
_set_artist_propsMethod · 0.45
__clearMethod · 0.45

Calls

no outgoing calls

Tested by 9

test_toolbar_zoompanFunction · 0.36
test_passing_locationFunction · 0.36
test_subfigure_legendFunction · 0.36
get_transformMethod · 0.36
test_removeFunction · 0.36
test_get_figureFunction · 0.36
test_bbox_image_invertedFunction · 0.36