jupyter-widgets / ipydatagrid

Fast Datagrid widget for the Jupyter Notebook and JupyterLab
BSD 3-Clause "New" or "Revised" License
579 stars 51 forks source link

VScode doesn't display Datagrid #465

Closed f3rn4nd0-c354r closed 6 months ago

f3rn4nd0-c354r commented 11 months ago

Hello, I usually use VScode to edit my notebooks, but the DataGrid widget is not displayed correctly. I didn't find much information about it, but I did find this: https://github.com/microsoft/vscode-jupyter/wiki/IPyWidget-Support-in-VS-Code-Python

Use of Widgets require us to download supporting files from a 3rd party website. The 3rd party websites are as follows:

jsDelivr UNPKG

Can you help me configure VScode to display this widget correctly?

Thanks,

jobinnthomas commented 9 months ago

requirements.txt This requirement file versions displays the grid properly in vscode although i was having issues with viola . I have not troubleshot viola.

rootsmusic commented 9 months ago

pypiserver==1.4.2 pytest==7.1.2 notebook==6.5.2 voila==0.3.6 ipywidgets==7.7.1 matplotlib==3.6.2 ipydatagrid==1.1.15 ipynb==0.5.1 plotly==5.14.1 pyperclip==1.8.2

@jobinnthomas These requirements were for ipydatagrid==1.1.15.

jobinnthomas commented 9 months ago

pypiserver==1.4.2 pytest==7.1.2 notebook==6.5.2 voila==0.3.6 ipywidgets==7.7.1 matplotlib==3.6.2 ipydatagrid==1.1.15 ipynb==0.5.1 plotly==5.14.1 pyperclip==1.8.2

@jobinnthomas These requirements were for ipydatagrid==1.1.15.

Correct...i have only gotten ipywidgets and ipydatagrid to work with these version in VSCode 1.82 version. However I have not spend much time testing with newer versions. If anything does work, please post

jobinnthomas commented 9 months ago

Hi this works with VSCODE 1.86.2. I am able see ipywidets, ipydatagrid and viola without any issues. notebook==7.0.8 voila==0.5.5 ipywidgets==8.1.1 ipydatagrid==1.2.1 ipynb==0.5.1

requirements.txt

jgunstone commented 6 months ago

I guess the issue can be closed then... ?

f3rn4nd0-c354r commented 5 months ago

It doesn't work with the latests 1.3.2 I made it work with 1.1.17