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

Method get_tightbbox

lib/mpl_toolkits/mplot3d/axes3d.py:4160–4174  ·  view source on GitHub ↗
(self, renderer=None, *, call_axes_locator=True,
                      bbox_extra_artists=None, for_layout_only=False)

Source from the content-addressed store, hash-verified

4158 return errlines, caplines, limmarks
4159
4160 def get_tightbbox(self, renderer=None, *, call_axes_locator=True,
4161 bbox_extra_artists=None, for_layout_only=False):
4162 ret = super().get_tightbbox(renderer,
4163 call_axes_locator=call_axes_locator,
4164 bbox_extra_artists=bbox_extra_artists,
4165 for_layout_only=for_layout_only)
4166 batch = [ret]
4167 if self._axis3don:
4168 for axis in self._axis_map.values():
4169 if axis.get_visible():
4170 axis_bb = martist._get_tightbbox_for_layout_only(
4171 axis, renderer)
4172 if axis_bb:
4173 batch.append(axis_bb)
4174 return mtransforms.Bbox.union(batch)
4175
4176 @_preprocess_data()
4177 def stem(self, x, y, z, *, linefmt='C0-', markerfmt='C0o', basefmt='C3-',

Callers

nothing calls this directly

Calls 3

valuesMethod · 0.80
unionMethod · 0.80
get_visibleMethod · 0.45

Tested by

no test coverage detected