Setup JupyterLab
Install python-3 interpreter on your system (if not installed already) and make sure that the interpreter is accessible from anywhere in your system by adding it to path system variable. Then use the following command on the terminal/command-prompt to install JupyterLab using pip (the python package manager) –
On Windows
py -m pip install --upgrade jupyterlab
On Linux
python3 -m pip install --upgrade jupyterlab
Once installed, execute the following command on the terminal/command-prompt to open JupyterLab –
On Windows
py -m jupyterlab
On Linux
python3 -m jupyterlab
A tab with JupyterLab will be launched in the browser. Create an ipython/jupyter-notebook using the launcher to begin working. You may try executing some simple python program like print(“Hello world”) in a cell to ensure everything is up and running. Now let us proceed with creating inline interactive plots in our jupyter-notebook.
How to Use JupyterLab Inline Interactive Plots
This article shows how to create inline interactive plots in JupyterLab with Python-3 programming language. It assumes basic familiarity with JupyterLab/Jupyter Notebooks and Python-3. By the end of the article, the reader will be able to understand and create inline interactive plots with Matplotlib, Bokeh, and Plotly plotting libraries inside a Jupyter-Notebook (in JupyterLab) using Python-3.