Frequently Asked Questions (FAQ)#

Below are some frequently asked questions. Click on a question to be directed to relevant information in our documentation or our GitHub repo.

General#

Usage#

Notebook#

My notebook is displaying cell outputs in an iframe. They are reset when scrolling back and forth.

Since JupyterLab v4, notebook rendering is optimized to display only the cells needed. This has side effects with iframes.

The current workaround is to set the settings Notebook => Windowing mode to defer or none. It will negatively impact the performance of JupyterLab when opening long notebooks and/or lots of files.

My notebook injects customized CSS that results in unexpected scrolling issues (e.g. it fails to scroll to the active cell).

Since JupyterLab v4, notebook rendering is optimized to display only the cells needed. It does not support changing element CSS margin (in particular for cells).

The workaround is to prefer injecting customized padding rather than margin. If you can not avoid changing the margins, you can set the settings Notebook => Windowing mode to defer or none. It will negatively impact the performance of JupyterLab when opening long notebooks and/or lots of files.

Tips and Tricks#

  • How do I start JupyterLab with a clean workspace every time?

Add 'c.ServerApp.default_url = '/lab?reset' to your jupyter_server_config.py. See How to create a jupyter_server_config.py for more information.

Development#