Quiz: How do you export a Matplotlib plot to a high-resolution PNG image with zero cropped labels?
fig.savefig('output.png', dpi=300, bbox_inches='tight') writes a publication-quality raster image and tightens bounding boxes to avoid truncated labels.