bigly
bigly copied to clipboard
headless systems
Hi,
nice, I like the plotting function very much.
Any chance the plotting function could take an argument to save an image directly to disk instead of requiring x11 ?
Then it would be a nice way to script lots of images without manual work for example, and supply them to users.
Thanks, Colin
Hi, glad it's useful!
The script was just meant to be an example of using the output. You can change it to shave a image by replacing plt.show() with plt.savefig('some.png')
which may require you to set:
import matplotlib
matplotlib.use('Agg')
at the top of the script.