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
8
votes
2 answers

How can I use Asynchronous Widgets on jupyter lab?

How can I use Asynchronous Widgets on jupyter lab? I'm trying to reproduce the official Asynchronous Widgets-Example on jupyter lab, but the await never continues. Setup / reproduction docker run --rm -p 8888:8888 -e JUPYTER_ENABLE_LAB=yes…
wotanii
  • 2,470
  • 20
  • 38
8
votes
2 answers

JupyterLab vs JupyterNotebook

Hello everyone on Stack Overflow. Today, I would like to ask something very different question. I am currently working as a data scientist, and I work alot on JupyterLab/Notebook. Couple of my co-workers use Notebook instead of JupyterLab. It seems…
8
votes
2 answers

How to customize keyboard shortcuts in Jupyter Lab to run current line or selected text?

I happen to use "Run Selected Text or Current Line in Console" command a lot under the "Run" menu in JupyterLab. How can we configure a custom keyboard shortcut in JupterLab/Jupyter notebook for this?
Vinay
  • 1,149
  • 3
  • 16
  • 28
8
votes
1 answer

What is a "Failed validating schema (@jupyterlab/apputils-extension:package)" in Jupyter lab?

Since upgrading to macOS X Mojave, I've spent a certain amount of time repairing broken virtualenvs. So far, I haven't been able to get Jupyter Lab working again (it wasn't in a virtualenv, but then virtualenvs weren't the only things that got…
Daniele Procida
  • 1,477
  • 10
  • 27
8
votes
3 answers

How to detect whether in Jupyter Notebook or Lab

I am trying to automatically detect whether my library is being run in classic Jupyter Notebook or JupyterLab. I know get_ipython() can tell me whether I'm in a kernel at all, but it doesn't tell me which frontend I'm in.
Benjamin Lee
  • 481
  • 1
  • 5
  • 15
8
votes
2 answers

How to enable equation numbering in Markdown notebooks in Jupyter Lab?

Jupyter notebooks support equation numbering, but I am having difficulties generating equation numbers with LaTex used in Markdown notebooks in Juyter Lab. Is this feature available, and if it is, how can I make it work?
tmaric
  • 5,347
  • 4
  • 42
  • 75
8
votes
2 answers

Controlling figure height when using interactive plots in jupyter lab

I'm trying to use a combination of JupyterLab and the latest ipywidgets to have a basic graphic interface to explore some data. However, I cannot find a way to set up the figure height for the interactive plot The notebook loads some file, then the…
Alessio Arena
  • 390
  • 2
  • 8
8
votes
2 answers

Memory leakage due to presumably unclosed kernels

I'm forced to work with JupyterLab on a Linux-server which I do not host myself. The problem is that the Jupyter-process takes a lot of memory; this has been part in several bug reports like here and here. Anyhow, as can be anticipated from the…
Markus
  • 2,265
  • 5
  • 28
  • 54
8
votes
2 answers

jupyterlab doesn't display png image

jupyterlab fails to display png image: ![title](image/filename.png) results in showing only displaying the title. I have the following installation JupyterLab v0.35.4 Known labextensions: app dir:…
osterburg
  • 447
  • 5
  • 24
8
votes
4 answers

pathlib library error in pathlib.Path.home() : type object 'Path' has no attribute 'home'

So I've just updated matplotlib to version 3.0.2 . I can import matplotlib just fine, but when I try to import matplotlib.pyplot, I get : --------------------------------------------------------------------------- AttributeError …
Alex
  • 117
  • 2
  • 11
8
votes
1 answer

Jupyter Lab hide vertical navigation pane

There's an answer here showing how to minimize the navigation pane to make it show the icons only. Basically, you just need to click the first folder icon on the left. How can I hide the vertical navigation pane on the left completely?
multigoodverse
  • 7,638
  • 19
  • 64
  • 106
8
votes
2 answers

JavaScript output is disabled in JupyterLab

Although Google has a lot to say when searching for the title I could not find anything that helped me... When running the following code in a Jupyter notebook from vega import VegaLite VegaLite( { "$schema":…
lanes
  • 1,847
  • 2
  • 19
  • 19
8
votes
7 answers

How to Close a Connection When Using Jupyter SQL Magic?

I'm using SQL Magic to connect to a db2 instance. However, I can't seem to find the syntax anywhere on how to close the connection when I'm done querying the database.
user3495958
  • 81
  • 1
  • 3
8
votes
2 answers

access variable declared in a %%bash cell from another jupyter cell

In a jupyter notebook I have a bash jupyter cell as follows: %%bash export MYVAR="something" I would like to access $MYVAR in a different python cell. For example print(MYVAR) I would expect the cell to print "something", but I get a NameError…
8
votes
2 answers

How to load the Odoo Environment into a Jupyter Notebook?

Odoo (ERP) Odoo is an all-in-one management software that offers a range of business applications that form a complete suite of enterprise management applications targeting companies of all sizes. Odoo is an all-in-one business software including…
ChesuCR
  • 9,352
  • 5
  • 51
  • 114