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)
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?