How can I make another query request once I run a plotly python script?

Hi @TreyYi,

See answer at Plotly Buttons with Dependent Interactions. Basically you’ll need move to FigureWidget or Dash in order to be able to execute Python code in response to plot interactions.

Hope that helps!
-Jon