The community member is looking for a way to generate a plot based on a Plotly canvas, where they can create a surface by clicking on the canvas to define vertices, and then extract those vertices to fine-tune them in their UI. The comments suggest that the Marimo library only supports selecting groups of points out-of-the-box, and the community member may need to use Plotly's click event API directly to achieve their desired functionality. Another community member suggests that Altair bar charts should be selectable, and the Marimo team acknowledges the feedback and is working to improve the documentation. The community members also discuss the SQL integration and CSV import features of the Marimo tool, which they find useful.
I'm looking for a way to generate a plot based on a plotly canvas. I want to create a surface, by clicking on the canvas so that vertices of that surface can be defined. Later, I want to extract the vertices, to be able to fine tune them in my UI. Is that something I could do with Marimo?
You might be able to achieve what you want using Plotly's click event API directly. I haven't worked with it before, so YMMV. https://plotly.com/python/click-events/
Ahhh! I just spent about two hours trying to make an interactive plotly bar chart work. Any way this could be added to the documentation more explicitly? For the dumb folks like me ๐