【JupyterLab】JavaScript output is disabled in JupyterLab

Error when using Matplotlib to display images in jupyterlab:

JavaScript output is disabled in JupyterLab

 

terms of settlement:

Just install the plot extension of jupyterlab.

Please refer to https://github.com/jupyterlab/jupyter-renderers/tree/master/packages/plotly-extension

 

The steps are as follows:

Use the CMD command line to execute the following command

jupyter labextension install @jupyterlab/plotly-extension

perhaps

…..\Anaconda3\Scripts\jupyter- labextension.exe install @jupyterlab/plotly-extension

result:

The installation is successful.

 

Then restart the following jupyterlab!

Read More: