Black Lives Matter. Please consider donating to Black Girls Code today.

Two dropdowns -- Providing a dropdown menu access to another dropdown menu's current selection

Hey there,

Is it possible to provide a dropdown menu access to another dropdown menu’s current selection?

I am using plotly express offline to generate an html report with a few polar bar plots (generated from different data) that can be selected with the dropdown menu, which has turned out great.

I am hoping to add another dropdown that overlays different types of averages (the green line) on top of the polar plot specific to the selected Category. The problem is the second dropdown must know what Category plot is currently displaying in order ensure the correct averages are shown.

I’ve looked at on_click events and sliders with no luck – if possible I’d like to stay away from jupyter notebook ( & dash because I like the convenience of the html format.