savefig
Also written: plt.savefig, tight_layout, plt.close, plt.show
`plt.savefig()` saves a chart as an image, `tight_layout()` fixes spacing so labels aren't cut off, and `close()` clears the chart so the next one starts fresh.
Also written: plt.savefig, tight_layout, plt.close, plt.show
`plt.savefig()` saves a chart as an image, `tight_layout()` fixes spacing so labels aren't cut off, and `close()` clears the chart so the next one starts fresh.