
The graphs are not appearing in JupyterLab Notebook and the error message says “JavaScript output is disabled in JupyterLab”.
At first, it seems that from Notebook itself I just need to enable it but few site says it Jupyterlab does not support it yet is frustrating.
#matplotlib submodule pyplot import matplotlib.pyplot as plt import numpy as np x = np.arange(0,100,0.5) y = 2 * np.sqrt(x) plt.plot(x,y) plt.show()
"JavaScript output is disabled in JupyterLab"
So to solve this issue or enable extension first stop your notebook and use below command.
C:\Users\victor>jupyter nbextension enable --py --sys-prefix widgetsnbextension Enabling notebook extension jupyter-js-widgets/extension... - Validating: ok
Now invoke “jupyter lab” and you can see your plots: