Axes.get_tightbbox

Axes.get_tightbbox(renderer, *args, **kwargs)[source]

Perform post-processing steps, return the tight bounding box surrounding axes artists, and cache the bounding box as an attribute.