UpdateMenus: Trigger external event if filter gets applied

Hello fellow Plotly users,

I’am using the update menus to create a dropdown menu, out of which the user can select different filter values.
If the user selects a value, the graph gets updated automatically, as wished. Furthermore, I would like to trigger an external event, because the filtered values have to be used in another case, too.

Is it possible to apply this kind of event, if a user selects a filter?

If it is otherwise not possible to trigger this kind of event, is it possible to get any information about the filter, which is currently active?

Thanks for your help,


Here’s how: https://codepen.io/etpinard/pen/ExjPVaN

1 Like

Thanks a lot. That works perfectly.

1 Like