def update_ts_graph_avail_assets(kind, scenario): """ Change the selector's options according to the kind of trace selected. Triggered when user click on one of the input in the scen_overview_ts_switch component in overview layout. """ best_agent_ep = make_episode(best_agents[scenario]['agent'], scenario) return common_graph.ts_graph_avail_assets(kind, best_agent_ep)
def update_ts_graph_avail_assets(kind, study_agent, scenario): new_episode = make_episode(study_agent, scenario) return common_graph.ts_graph_avail_assets(kind, new_episode)