my code:
dg = DataGrid.element(
dataframe=pd.DataFrame(),
base_column_size=180,
)
Model class 'DataGridModel' from module 'ipydatagrid' is loaded but can not be instantiated
TypeError: e is not iterable
at Module.g (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:40702)
at d._updatePrimaryKeyMap (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:933905)
at d.updateDataset (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:933736)
at new d (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:933031)
at p.updateData (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:941550)
at p.initialize (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:940441)
at new Backbone.Model (http://192.168.1.162/_solara/cdn/@widgetti/[email protected]/dist/solara-vuetify-app8.js:158282:21)
at new p (http://192.168.1.162/static/nbextensions/ipydatagrid/index.js:2:939472)
at WidgetManager._make_model (http://192.168.1.162/_solara/cdn/@widgetti/[email protected]/dist/solara-vuetify-app8.js:79503:28)
A new blog post: https://blog.jupyter.org/build-your-jupyter-dashboard-using-solara-569fa5b16e9c https://x.com/maartenbreddels/status/1868971822815088654 https://bsky.app/profile/maartenbreddels.bsky.social/post/3ldiolpdhxs2t https://www.linkedin.com/posts/maartenbreddels_build-your-jupyter-dashboard-using-solara-activity-7274740302177882112-F9GC?utm_source=share&utm_medium=member_desktop
MaartenBreddels · 15mo ago
Hi all, For those interested in running solara in pyodide, check this out: https://x.com/maartenbreddels/status/1800530840793088321 https://www.linkedin.com/posts/maartenbreddels_what-is-pycafe-activity-7206296573264195584-_CUR?utm_source=share&utm_medium=member_desktop
MaartenBreddels · 2y ago
Today we did a big change in Solara version 1.31 🍾 . We split solara into solara-ui, solara-server (and pytest-ipywidgets for those who test). This enables notebook users and Jupyter Lite users to use Solara without having to install all the server dependencies. ``` pip install solara # still works the old way, same as pip install "solara-ui[all]" "solara-server[starlette,dev]" pip install solara-ui # good enough for more notebook users pip install solara-ui[cache,markdown,all] # if you want more pip install solara-server[starlette,flask,dev] # pick what you need, dev is only needed for hot reloading pip install pytest-ipywidgets[solara,notebook,lab,voila] # do testing with a browser using playwright ``` Read more via https://solara.dev/changelog
MaartenBreddels · 2y ago