jupyter-lab

Get current jupyter-lab notebook name [for Jupyter-lab version 2.1 and 3.0.1 and notebook version >6.0.3)

半城伤御伤魂 提交于 2021-02-19 06:14:43
问题 Problem Hi all, As my title suggested it, I would like to get access to the notebook name (in jupyter-lab ) as a variable. So I could reuse it in the notebook itself (for example to name some figure files generated in the notebook). I saw that a similar issue was opened years ago [see here]. However I didnt find a satisfactory answer. I like the simplicity of the answer suggested by @bill: import ipyparams currentNotebook = ipyparams.notebook_name However, it doesn't work for me. I got this

Vim bindings for jupyter notebook/lab like Colab

半城伤御伤魂 提交于 2021-02-18 17:34:49
问题 Is there some way to have vim bindings in jupyter notebook/lab like in colab. In the included vim bindings for jupyter Lab, there isn't a NORMAL mode for editing inside the cell block. Colab however has better bindings as it allows use inside the cell block. 来源: https://stackoverflow.com/questions/59746583/vim-bindings-for-jupyter-notebook-lab-like-colab

Jupyterlab active scroll bars for long results

纵饮孤独 提交于 2021-02-18 05:34:08
问题 I'm using Jupyterlab for my datascience studies. Everything is Ok with this new tool, but some process as GridSearchCV has long logs and this results pollutes the notebook. There is a way to active scroll bars to avoid this like in traditional Jupyter notebooks ? 回答1: You have a few options: Right click on cell's output -> "Enable Scrolling for Outputs". This will limit output view's height and enable scrolling, like in the classic notebook. Right click on cell's output -> "Create New Output

Jupyterlab active scroll bars for long results

♀尐吖头ヾ 提交于 2021-02-18 05:33:54
问题 I'm using Jupyterlab for my datascience studies. Everything is Ok with this new tool, but some process as GridSearchCV has long logs and this results pollutes the notebook. There is a way to active scroll bars to avoid this like in traditional Jupyter notebooks ? 回答1: You have a few options: Right click on cell's output -> "Enable Scrolling for Outputs". This will limit output view's height and enable scrolling, like in the classic notebook. Right click on cell's output -> "Create New Output

JupyterLab: How to save a figure from the notebook

霸气de小男生 提交于 2021-02-17 21:07:28
问题 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? 回答1: Following the suggestion from @Matt, I opened an issue in GitHub and got the answer:

Completion in IPython (jupyter) does now work (unexpected keyword argument 'column')

北城以北 提交于 2021-02-14 11:23:10
问题 I'm using jupyter notebook, and it works fine, but when I press TAB, the auto-completion doesn't work. I already checked all the similar cases in StackOverflow, but none of the solutions worked for me. I have also tried to do "pip upgrade" to: IPython, IPYKernel, Jedi, and Tornado, the upgrade works fine but the problem is still there. I tried in Firefox, Chrome and Edge. When I press TAB I can see those errors in the terminal: [IPKernelApp] ERROR | Exception in message handler: Traceback

Completion in IPython (jupyter) does now work (unexpected keyword argument 'column')

♀尐吖头ヾ 提交于 2021-02-14 11:23:02
问题 I'm using jupyter notebook, and it works fine, but when I press TAB, the auto-completion doesn't work. I already checked all the similar cases in StackOverflow, but none of the solutions worked for me. I have also tried to do "pip upgrade" to: IPython, IPYKernel, Jedi, and Tornado, the upgrade works fine but the problem is still there. I tried in Firefox, Chrome and Edge. When I press TAB I can see those errors in the terminal: [IPKernelApp] ERROR | Exception in message handler: Traceback

Completion in IPython (jupyter) does now work (unexpected keyword argument 'column')

你。 提交于 2021-02-14 11:20:57
问题 I'm using jupyter notebook, and it works fine, but when I press TAB, the auto-completion doesn't work. I already checked all the similar cases in StackOverflow, but none of the solutions worked for me. I have also tried to do "pip upgrade" to: IPython, IPYKernel, Jedi, and Tornado, the upgrade works fine but the problem is still there. I tried in Firefox, Chrome and Edge. When I press TAB I can see those errors in the terminal: [IPKernelApp] ERROR | Exception in message handler: Traceback

Completion in IPython (jupyter) does now work (unexpected keyword argument 'column')

删除回忆录丶 提交于 2021-02-14 11:20:54
问题 I'm using jupyter notebook, and it works fine, but when I press TAB, the auto-completion doesn't work. I already checked all the similar cases in StackOverflow, but none of the solutions worked for me. I have also tried to do "pip upgrade" to: IPython, IPYKernel, Jedi, and Tornado, the upgrade works fine but the problem is still there. I tried in Firefox, Chrome and Edge. When I press TAB I can see those errors in the terminal: [IPKernelApp] ERROR | Exception in message handler: Traceback

Access to Jupyter notebook from outside - How to allow google colab to access a local host Jupyter notebook?

半腔热情 提交于 2021-02-11 14:57:39
问题 I am trying to connect from google colab to local host - it does not work, google troubleshooting advise suggests that I should allow local Jupyter notebook to accept colab requests - how to do it ? Screenshot from local host which confirms that requests from colab are forbidden. There should be some config modification to allow such requests, is not it ? Advise from colab: 来源: https://stackoverflow.com/questions/62103546/access-to-jupyter-notebook-from-outside-how-to-allow-google-colab-to