You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importpandasaspdimportperspectivedata=pd.DataFrame(dict(
x=[1.0, 2.0, 3.0],
y=[1.0, 3.0, 2.0]
))
w=perspective.widget.PerspectiveWidget(data)
w
the widget is shown correctly:
switch view type to X/Y line also works:
then switch back to DataGrid, it doesn't work, there is a bottle icon on the left top corner:
and here is the output of the console:
Uncaught TypeError: Cannot read properties of null (reading 'setSelection')
at Vp.qX (253.0ce9cb0d4f76016e411c.js?v=0ce9cb0d4f76016e411c:18:58281)
at Vp.RX (253.0ce9cb0d4f76016e411c.js?v=0ce9cb0d4f76016e411c:18:59274)
at Vp.restore (253.0ce9cb0d4f76016e411c.js?v=0ce9cb0d4f76016e411c:18:62217)
at QT.e.wbg.__wbg_restore_ecfb5129680ce27e (253.0ce9cb0d4f76016e411c.js?v=0ce9cb0d4f76016e411c:2:1157381)
at 00960502:0x145e29
at 00960502:0x5a42a
at 00960502:0x407b5
at 00960502:0x15f464
at 00960502:0x91045
at 00960502:0x9ec36
versions:
python: 3.13.0
ipywidgets: 8.1.5
jupyterlab: 4.3.0
perspective: 3.1.3
finos-perspective-jupyterlab: 3.1.3
The text was updated successfully, but these errors were encountered:
run the following code in jupyterlab:
the widget is shown correctly:
switch view type to X/Y line also works:
then switch back to DataGrid, it doesn't work, there is a bottle icon on the left top corner:
and here is the output of the console:
versions:
The text was updated successfully, but these errors were encountered: