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.
JupyterLab was built to support a wide variety of extensibility, including dynamic behavior based on notebook outputs. To access this extensibility, you should write a custom JupyterLab extension. If you would like trigger some behavior in response to the user executing some code in a notebook, you can output a custom mimetype (Mime Renderer Extensions). We currently don’t allow access to the JupyterLab API from the Javsacript renderer, because this would tie the kernel and the notebook output to JupyterLab and make it hard for other frontends to support it. If you have comments or suggestions on changes here, please comment on this issue.
Tips and Tricks¶
- How do I start JupyterLab with a clean workspace every time?
Add ‘c.NotebookApp.default_url = ‘/lab?reset’ to your jupyter_notebook_config.py. See [How to create a jupyter_notebook_config.py](https://jupyter-notebook.readthedocs.io/en/stable/config.html) for more information.