What is the expected behaviour while using mo.ui.panel() ? #8270
Unanswered
dsantos-em
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Before I raise this as a BUG, I prefer to ask here if someone know how is supposed the mo.ui.panel() method work.
I cannot find any documentation on the website.
I'm trying to integrate some Panel widgets on my marimo notebooks, so I've found out that exists a method for it and I've implemented the suggested example:
cell 1:
import marimo as mo
import panel as pn
cell 2:
slider = pn.widgets.IntSlider(start=0, end=10, value=5)
rx_starts = mo.ui.panel(slider.rx()) * "*")
slider
cell 3:
slider.value
following this example I was expecting to that when I adjust the slider (output of cell 2) I would see the output of the cell 3 immediately update to follow the slider, but no ... I need to run cell 3 in order to update. Is this meant to be like this?
Best regards,
Daniel Santos
Beta Was this translation helpful? Give feedback.
All reactions