Questions tagged [jupyter-lab]

JupyterLab is a web application that provides a frontend to many different languages and interactive shells such as IPython. JupyterLab enables you to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components. You can arrange documents side by side using tabs and splitters. It supports Markdown, Python, R, LaTeX, images, CSV, JSON, PDF, Vega etc. Use this tag for questions related only to JupyterLab.

2575 questions
7
votes
1 answer

How to use JupyterLab in Visual Studio Code

is there a way to use JupyterLab in VS Code? I know that VS Code provides the Jupyter Notebook extension. However, I need to connect to another server remotely...... Any guidance will be appreciated!
HXW
  • 73
  • 1
  • 1
  • 3
7
votes
0 answers

Jupyterlab unresponsive after launching it from within a docker container

I am trying to create some python code using a Jupyter Lab instance running within a docker container. I have been able to successfully create the Dockerfile to accomplish the same and launch Jupyterlab on a browser instance. However, as soon as i…
kieronion
  • 111
  • 1
  • 2
7
votes
1 answer

Blocking Cross Origin API with Jupyter Lab

I am trying to run Jupyter Lab on a VPS with the following nginx config # top-level http config for websocket headers # If Upgrade is defined, Connection = upgrade # If Upgrade is empty, Connection = close map $http_upgrade $connection_upgrade { …
Kiwiheretic
  • 308
  • 2
  • 12
7
votes
2 answers

JupyterLab Notebook cells going missing

I am using quite large notebooks in JupyterLab to run Python code. They contain many Markdown cells with text and some images. The problem I am having is that when I close the Notebook and reopen, some of these cells have collapsed and can't be…
user14434091
  • 95
  • 1
  • 5
7
votes
3 answers

Getting Error 524 while running jupyter lab in google cloud platform

I am not able to access jupyter lab created on google cloud I created one notebook using Google AI platform. I was able to start it and work but suddenly it stopped and I am not able to start it now. I tried building and restarting the jupyterlab,…
7
votes
0 answers

Plotly LaTeX fonts different in Jupyter and exported PDF or PNG

I'm trying to create PDFs of plots that I have done with plotly in jupyter lab, but I'm having a lot of trouble with the fonts. Plotly is using the correct font for all the normal text in the browser, but all labels that are LaTeX code use a…
7
votes
1 answer

JupyterLab 3.0.14 How to disable code style highlights (pycodestyle)

I just installed WPy64-3940 that comes with JupyterLab 3.0.14 . To my surprise, now my code comes decorated with things called "pycodestyle". As you can see below, the code is underlined in orange and a popup can appear. I do not like that at all,…
user10085055
7
votes
3 answers

Markdown clickable checkbox

In Markdown using or - [ ] there will give me a white box, which can not be checked by click. Any idea how to implement there a clickable checkbox for progress documentation. I guess i need a extension but which is working…
user23657
  • 131
  • 1
  • 2
  • 11
7
votes
4 answers

Open JupyterNotebook from VScode into the Browser

I have opened my .ipynb file with vscode (Python 3.9 Interpreter - installed jupyterlab), it's connected locally, how can I open it through the browser? what is the default port?
7
votes
1 answer

How to save of the current state of a notebook in JupyterLab

I would like to export a JupyterLab notebook (not Jupyter Notebook) to HTML. I am using the following code inside of the notebook itself, that correctly exports the notebook: os.popen('jupyter nbconvert current_notebook.ipynb --to…
Alex Blasco
  • 793
  • 11
  • 22
7
votes
1 answer

Display d3.js visualisation in Jupyter Lab

I would like to display a d3.js visualisation in Jupyter Lab/JupyterLab. I have been following various web tutorials like this one which often begin %%javascript require.config({ paths: { d3: 'https://d3js.org/d3.v5.min' …
RobinL
  • 11,009
  • 8
  • 48
  • 68
7
votes
2 answers

How to config automatic sync Jupyter notebook .ipynb and .py files in VSCode e.g. by using Jupytext

I have written some Jupyter notebooks using original Jupyter notebook web interface. All notebooks are synced nicely in this way. But now, I would like to edit my notebooks in the VSCode. But I cannot configure syncing notebook file with its python…
7
votes
1 answer

How to launch jupyter lab in VSCode using Docker with .devcontainer.json

I am trying to launch jupyter lab in VSCode remote server, capsuled by Docker, but got error saying Unable to start session for kernel Python 3.8.5 64-bit. Select another kernel to launch with. I set up Dockerfile and .devcontainer.json in…
SayZ
  • 101
  • 1
  • 5
7
votes
0 answers

Can Python tell whether it is being executed in JupyterLab vs Jupyter Notebook?

When Python code is called from a notebook, is it possible to determine whether the notebook is the old notebook vs JupyterLab? The context behind the question is that I want to display some Javascript-enabled content inline inside the notebook. For…
jkitchen
  • 900
  • 11
  • 16
7
votes
2 answers

How do I create a Jupyter Lab extension, that adds a custom button to the toolbar of a Jupyter Lab notebook?

I am trying to create an extension that adds a custom button to the toolbar of an opened Jupyter Lab notebook, similar to the "Submit Notebook button ..." in this photo. How do I achieve this? I tried using the following code but it does not…
Caleb Oki
  • 667
  • 2
  • 11
  • 29