Skip to content

Updatemenus support? #123

Closed
Closed
@nkrumm

Description

@nkrumm

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions