Layered Altair
I'm trying to create an Altair chart that is layered (I.e. the visualization itself and then the values plotted on top of it). I can plot them separately, but as soon as I try to do
mo.ui.altair_chart(chart1 + chart2)
, the visualization turns into what looks like error text saying "Duplicate signal name: select_point_tuple". Can marimo not handle a layered chart like this?4 Replies
We may have some edge cases we don’t handle. I have tested with layered charts but could be a different configuration than what I tested with. Are you including your own selection? Mind sharing a minimal repro?
marimo | a next-generation Python notebook
Explore data and build apps seamlessly with marimo, a next-generation Python notebook.
Admittedly, I'm learning Altair as I'm learning Marimo, so it may be my code. I'm trying to mimic this Altair example: https://altair-viz.github.io/gallery/bar_chart_with_range.html
Thanks for the repro - it looks correct on your end so I’ll look into it. Should have a fix tonight