Alphabetical list Categories
save Saves a qplot figure
Call signature:

save(ofn=None, reso=None)

Help text:

save(ofn) saves the current qplot figure to the named file.
save(ext), where ext is just a filename extension (without the dot), uses the name of the current figure.
save(ofn, reso) specifies bitmap resolution for png/jpeg output.
save without arguments saves to pdf.

Example:

import pyqplot as qp

import numpy as np

qp.figure('save', 3, 3)

xx = np.linspace(0,2*np.pi,50)

qp.plot(xx, np.sin(xx))

qp.save('save.pdf')

qp.save('save.png')

qp.save('save.jpg')

qp.save('save.svg')

QPlot Documentation — (C) Daniel Wagenaar, 2019