Hello,
while reading the documentation, I noticed that there is a section for interactivity and action on buttons, however I would like to know if it is possible to retrieve points from a plot by clicking on the plot?[hover over the plot is out of question I believe] Probably using Nodes…
mouse_selection(scene[, range])
will return the currently hovered plot and an index into the plot which corresponds to one element of it. (E.g. a point of a scatter plot) If you want to do selections on click you can react to mousebuttons
updates or use a mouse state machine which I don’t think is documented…?
https://github.com/JuliaPlots/AbstractPlotting.jl/blob/master/src/makielayout/mousestatemachine.jl
1 Like