How to change Dataset in Plotly Python

I have a several dataset :
and try to change those dataset according to the dropdown button.
Is there a way to change dataset ??

(*Iā€™m NOT using Jupyter Notebook)

Hi,

could you elaborate a bit ?