Skip to content

Glossary: Data Visualization

savefig

Also written: fig.savefig(), plt.close

The Figure method that writes the image to a file, choosing the format from the file ending. `plt.close(fig)` then frees it from memory.

Where the book teaches it

Related terms

dpiRaster, vector