Can I do this with pyqtgraph? For the simplest possible plot example:
import numpy as np
import pyqtgraph as pg
data = np.random.normal(size=1000)
pg.plot(data, title="Simplest possible plotting example")
would it be possible to do something like:
data = np.random.normal(size=1000)
pg.render(data, title="Simplest possible plotting example","file.jpg")
Or alternately:
lay = pg.GraphicsLayout()
lay.addPlot(data)
lay.setSize(1000,1000)
lay.save("myfile.jpg")
If so, how?