jupyterlab-contrib / jupyterlab-variableInspector

Variable Inspector extension for Jupyterlab
BSD 3-Clause "New" or "Revised" License
1.11k stars 96 forks source link

I can only explore each variable when 3<=jupyter lab version <4 #327

Open joseal01 opened 1 week ago

joseal01 commented 1 week ago

When the version of Jupyter Lab>=4, I can get to the variable explorer menu, but I cannot explore each variable. It works perfectly with all of the version of Jupyter Lab 3.

Milan-Patel-Researcher commented 4 days ago

Describe the bug

Same issue as described by joseal01 within JupyterLab 4.2.5 (Windows 10, Firefox & MS Edge, more version information is below). The variable plot in a 'plain text' manner without the 'rich text' :) functionality, i.e. the datagrid-style viewer & matplotlib inline viewer don't seem to work for me (in that I don't see the magnifying glass). I really love this extension and can provide further info if needed?

To reproduce

# Create a variety of objects to test rendering in Variable Inspector import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
a = [1, 2, 3, 4]
a[0:1] = [5]
b = np.array(list(range(0, 100)))
ax_temp = plt.plot(b);

Then right click in cell and open Variable Inspector All variables are shown in 'plain text' style, but neither magnifying glass nor datagrid view nor inline matplotlib renderings seem to be available. I could be doing something wrong but not sure what it is.

Runtime environment

joseal01 commented 3 days ago

The only solution I found is to downgrade jupuyter lab to one of the 3 Versions. Apparently this is because the version of the extension has match the jupuyter lab version.

Milan-Patel-Researcher commented 2 days ago

The only solution I found is to downgrade jupuyter lab to one of the 3 Versions. Apparently this is because the version of the extension has match the jupuyter lab version.

thank you!