Open pudeIko opened 1 year ago
I made the same observation when developing data-slicer
. Eventually, I implemented my own matplotlib
export routine and built it into ImagePlot
: mpl_export
It seems that this functionality was dropped when imageplot.py
was copied into piva
. Maybe one can re-implement it.
Or we can discuss using data-slicer
's code through imports instead of adapted copy-pastes (cf. #16)
I see! If it can be just imported then absolutely, let's do that!
pyqtgraph
allows for exporting plotted data tomatplotlib
window, but at the moment it seems to be working only for 1D data. It might not support multidimensional datasets at all, but perhaps with some manual preparation of the data, "export"(?) library could be used to open selected cuts inmatplotlib
. As an advantage,matplotlib
allows for labeling the axes, giving the plots nicer look and making them perfect for beamtime logbooks.Just an idea, maybe worth to investigate.