height of a ipyaggrid that is being cross-filtered by a solara component? I am using @MaartenBreddels 's snippet here general. However, if I pass an integer height to the grid element like this ipyaggrid.Grid.element(..., height=500) it renders fine but then leads to this error: trait of a Grid instance expected a unicode string, not the int 500, whenever the data is filtered. Could it be a bug in ipyaggrid where the widget expects height to be an int but the trait is defined as unicode, leading to data type issues? I found a workaround but wonder if I am missing something or if there is a better approach. Thanks!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