Open rachka opened 8 years ago
I would save them as vector graphics (e.g. .eps or .svg) not to lose resolution. matplotlib.pyplot.savefig
really helps with that. I assume this function can save your figure in whatever format you want.
Example:
import matplotlib.pyplot as plt
plt.[etc] # do some plotting stuff
plt.savefig(...)
take a look at the documentation for plt.savefig()
for details.
See Issue #33
It turns out that I placed plt.show() before plt.savefig() which caused a blank figure to be saved. Thanks.
When we are going about doing our reports, what is the best way to extract the plots from SMC? I have tried saving plots as .jpeg or .png files but this only generates completely white images. Am I going about this the wrong way?