mne-qt-browser
mne-qt-browser copied to clipboard
Screenshot of signals
Hi, is there any way that I could take a screenshot of the signals, also could set DPI for it?
Hi @BarryLiu97, is this a feature request?
Currently there is no customary screenshot-method implemented. You can use the following methods to save an image of the data-browser with PyQt5:
browser = raw.plot()
pixmap = browser.grab()
pixmap.save("<path_to_destination>")
if you want just the signals you can also use
browser.mne.view.grab()
These are links to the documentation of grab() and pixmap.save().
Thank you so much, sir. Firstly, I am looking for a way to take a screenshot now. Secondly, I suppose this could be a useful feature, like a QAction next to Shortcut. However, I didn't find a feature request option in the issues, so I had to open it as a bug report.
Thank you, you are right we haven't set a template for feature requests yet. I added that now.