You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a very interesting function. With this function, Plotly is very useful for many applications. When are the feature requests processed? I think this feature is very easy to implement because this works in Dash Graph "erase active shape".
This would be a very useful feature for my use case as well where I want to select a closedPath or a shape and change the label of it i.e annotate with a different label.
gvwilson
changed the title
[Feature Request] Get current active / clicked shape from plotly figure
Get current active / clicked shape from plotly figure
Aug 13, 2024
Is your feature request related to a problem? Please describe.
As discussed in https://community.plotly.com/t/how-to-get-current-active-shape/42235 and https://stackoverflow.com/questions/76163350/shape-click-eventactive-shape-index-how-to-retrieve-the-index-of-a-drawn-sha, it would be a great feature to get the current active / clicked shape from a plotly figure via a callback in dash.
Describe the solution you'd like
A simple 'active_shape' or similar property from figure to use in callbacks.
The text was updated successfully, but these errors were encountered: