Embedding Solara / iframe / parameter
<iframe src="http://localhost:8765/?data=test" width="100%" height="100%"></iframe> How can I read arguments in Solara application? ...
Full Screen Output
Setting height of `ipyaggrid` in Solara app gives error
height
of a ipyaggrid
that is being cross-filtered by a solara
component? I am using @MaartenBreddels 's snippet here https://discord.com/channels/1106593685241614489/1106593686223069309/1212429587867504730. 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!
```
from typing import cast
import ipyaggrid...Streaming partial extraction
OAuth example fails
Callback URL mismatch
.Switching Tabs resets a state when lazy loading is set to True
Running a file vs running a module
solara run my-package
(or even better, just my-package
) in the cli to start the server. Currently, running solara run __main__.py
works, but for some reason running solara run my-package
does not. Adding a print statement to __main__.py
, I can see it being printed but solara does not appear to be able to find the route:
Page not found by Solara router
Page not found by Solara router
Multiple different solara apps under Fastapi endpoints?
Using existing plotly widget to update figures
Multipage tab color
Is there a way to filter the options in a select element
Trying to understand state management
value = use_reactive(42)
linked to an IntSlider
and I have multiple of these components on my page, how do I then get the values of all nested slider components to e.g. use in another component?
e.g.
```python
@solara.component...Can't cancel running @task?
Possible to use custom vue components in `component_vue`?
Voila
, it was possible to register custom vue-only components by registering them with ipyvue
, which made them available in the VuetifyTemplate
use case. Is there an analog when using Solara? That is, can I register a custom vue component, and have it available in the vue file passed to component_vue
? Registering it with ipyvue
as before does not seem to work.Plotly FigureWidget axes do not reset ranges within solara's render context
autorange=True
to a figure with autorange='reversed'
, the Figure does not return to the original axes orientation.
I'm wondering what happens behind the scenes here for the render when the use_effect
is triggered. I can upload a ipynb
with its expected behaviour within a jupyter context vs its behaviour in solara.
The partial code (can give complete if needed). plotstate
contains 2 reactives for flipx and flipy....Interactive layout
Using vue libraries with ipyvuetify & solara
Interact with `Layout` defined in another file
Page
solara component, I can import a defined Layout
specified in another file. Just importing is enough to render the page in that layout. However, it does not seem to allow for interacting with the layout; i.e. I cannot pass a "page title" or something similar. I'm curious if it's possible to interact with the Layout
beyond being able to define the children, or if perhaps I should be inspecting the children and pulling out which elements I want for particulars parts of the layout?
For example:
```
layout.py...use_thread eats logs?