Thanks for all the great work on Dash!
I am wondering if there is support for the updatemenu function, as there is in plotly proper. My initial efforts have resulted in rendering of the custom menu/buttons on the graph, but no action takes place (and the React state does not seem to update).
Alternatively -- Is there a way to have the updatemenu GUI be linked to a callback in dash?
Edit:
It looks like there is support for the relayout function via updatemenus. I am wondering if this also supports (perhaps unofficially) updating the data/traces of a plot? Looking at the source code it looks like it is possible, since Plotly.restyle does take a traces argument, but I'm not sure if that can actually update the traces on the plot itself.
Thanks for all the great work on Dash!
I am wondering if there is support for the
updatemenufunction, as there is in plotly proper. My initial efforts have resulted in rendering of the custom menu/buttons on the graph, but no action takes place (and the React state does not seem to update).Alternatively -- Is there a way to have the updatemenu GUI be linked to a callback in dash?
Edit:
It looks like there is support for the
relayoutfunction viaupdatemenus. I am wondering if this also supports (perhaps unofficially) updating thedata/traces of a plot? Looking at the source code it looks like it is possible, since Plotly.restyle does take atracesargument, but I'm not sure if that can actually update the traces on the plot itself.