plotly / dash-core-components

OBSOLETE: now part of https://github.com/plotly/dash
https://dash.plotly.com
MIT License
271 stars 145 forks source link

add support for `restyle` event, similar to `relayout` event #197

Open chriddyp opened 6 years ago

chriddyp commented 6 years ago

The restyle event is triggered when the legend is clicked, which might be useful for preserving state between re-draws: https://community.plot.ly/t/preserve-trace-visibility-in-callback/5118/4

Vayel commented 6 years ago

Also useful for Parcoords plots: https://community.plot.ly/t/displey-selected-data-in-parcoords/4055