In Flask I have a route
@app.route(\'/get_plots/\') def route_get_plots(ticker): plot1, plot2 = get_plots(ticker) return plot1, plot2