April 2018
Beginner to intermediate
300 pages
7h 34m
English
To save a figure, we put plt.savefig(outputpath) at the end of plotting commands. It can be used in place of plt.show(), to directly save the figure without displaying it.
If you want to save the figure as a file as well as display it on the notebook output, you can call both plt.savefig() and plt.show().
Read now
Unlock full access