I'm trying the new JupyterLab and am having trouble saving figures. Using vanilla Jupyter notebooks, I can two-fingers click (using macOS, Safari or Chrome) and I get a browser menu that allows me to copy or save the figure.
In JupyterLab, this menu is replaced by notebook specific one with cell-related functions, as seen here:
Is there a way I can save a figure directly from the notebook in JupyterLab?
Shift + Right click works well (as foglerit mentioned). Another alternative is to right on the output of a cell and select Create New View for Output . This will allow you to interact with all figures from an output as if they were just images. Thanks (+1) for your answer.
Hold down shift while right-clicking the plot. Select "Copy image"
Following the suggestion from @Matt, I opened an issue in GitHub and got the answer: the old menu is available by holding down Shift while doing a two-fingers click on a Mac, or doing a Shift + right-click on Linux/windows
Source: https://github.com/jupyterlab/jupyterlab/issues/3043#event-1272299457
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With