Hi! Does anybody know if it is possible
Hi! Does anybody know if it is possible to make Folium's way of adding markers to a map compatible with Marimo's dependency checker? I would like cell 3 to update when a change of the slider in cell 2 causes an update of the markers shown on the map (cell 5).
4 Replies
(You can ignore the
on_change
in cell 2 -- that doesn't help.)I got follium with markers working here: https://discord.com/channels/1059888774789730424/1227373488780742867
Oh, didn't really read the whole post. I think you can use state for this- just trigger update in 5 and include in 3
Yes, I had a look at your project while I was working on this 🙂
In the end I just added an assignment (m2 = m) to cell 5 and changed cell 3 to output m2.
That works too!