plotly / dash

Data Apps & Dashboards for Python. No JavaScript Required.

Home Page:https://plotly.com/dash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Feature Request] Get current active / clicked shape from plotly figure

subsurfaceiodev opened this issue · comments

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.

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".

commented

Thanks for creating this Feature Request, @subsurfaceiodev
This is part of a larger ongoing topic.