Hi -

I am trying to export the plot image to memory instead of a file in disk. 
Some what similar to matplotlib:

             buf = io.BytesIO()
             fig.savefig(buf,format = 'png')
             buf.seek(0)

or to an array :

            img_d = np.fromstring(fig.canvas.tostring_rgb(), 
dtype=np.uint8, sep='')
            img_d = img_d.reshape(fig.canvas.get_width_height()[::-1] + 
(3,))

Is there an equivalent approach in pyqtgraph?


-- 
You received this message because you are subscribed to the Google Groups 
"pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/660e3476-be11-4b13-991d-b739372af2f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to