notebook icon indicating copy to clipboard operation
notebook copied to clipboard

Jupyter Lab - javascript error on ProfileReport visualization and matplotlibs 3D plots.

Open Gabriel-R-A opened this issue 1 year ago • 1 comments
trafficstars

Description

I'm having problems with Jupyter Lab to visualize some plots, such as 3D graphs and Profile Reports, normally functions that end up using javascript are buggy. I've already reinstalled dependencies and widgets, updated everything, and it still shows an error.

image

When I click on the box this is the error that is reported:

[Open Browser Console for more detailed log - Double click to close this message]
Failed to load view class 'ErrorWidgetView' from module '@jupyter-widgets/base'
Error: No version of module @jupyter-widgets/base is registered
    at m.loadClass (http://localhost:8888/static/lab/6187.44803385627ac91ed1c4.js?v=44803385627ac91ed1c4:1:4010)
    at m.loadViewClass (http://localhost:8888/static/lab/4416.74698273b3de2ad84746.js?v=74698273b3de2ad84746:1:11554)
    at http://localhost:8888/static/lab/4416.74698273b3de2ad84746.js?v=74698273b3de2ad84746:1:4288
    at async C.renderModel (http://localhost:8888/static/lab/6187.44803385627ac91ed1c4.js?v=44803385627ac91ed1c4:1:1297)

Even reinstalling all extensions and widgets, and updating everything, I still get this error.

I have exactly the same error plotting 3d graphs with matplotlib

These are the versions of the tools I'm using:

Jupyter - Lab: 4.0.11 Matplotlib version: 3.8.2 ydata_profiling version: 4.8.3

Gabriel-R-A avatar Jun 24 '24 12:06 Gabriel-R-A