本文介绍了JupyterLab:如何从笔记本中保存图形的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试新的JupyterLab,但无法保存数字.使用香草Jupyter笔记本,我可以用两个手指单击(使用macOS,Safari或Chrome),然后获得一个浏览器菜单,该菜单可让我复制或保存该图形.

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.

在JupyterLab中,此菜单已被笔记本特定的,具有与细胞相关的功能的菜单所替代,如下所示:

In JupyterLab, this menu is replaced by notebook specific one with cell-related functions, as seen here:

有什么方法可以直接从JupyterLab的笔记本中保存图形吗?

Is there a way I can save a figure directly from the notebook in JupyterLab?

推荐答案

按照@Matt的建议,我在GitHub上打开了一个问题,并得到了答案:旧菜单可以通过在按住两指的同时按住Shift来使用.在Mac上单击,或在Shift +右键单击Linux/windows上

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

来源: https://github.com/jupyterlab/jupyterlab/issues/3043#event-1272299457

这篇关于JupyterLab:如何从笔记本中保存图形的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

06-29 17:00