src/orion/serving/plots_resources.py
def on_get_regret(self, req: Request, resp: Response, experiment_name: str):
        """
        Handle GET requests for plotting regret plots on plots/regret/:experiment
        where ``experiment`` is the user-defined name of the experiment.
        """
        experiment = ExperimentClient(retrieve_experiment(experiment_name), None)
        resp.body = experiment.plot.regret().to_json()

        Handle GET requests for plotting regret plots on plots/regret/:experiment
        where ``experiment`` is the user-defined name of the experiment.
        
Handle GET requests for plotting regret plots on plots/regret/:experiment
where ``experiment`` is the user-defined name of the experiment.
Handle GET requests for plotting regret plots on plots / regret / : experiment where ` ` experiment ` ` is the user - defined name of the experiment .
def on_get_regret(self, req: Request, resp: Response, experiment_name: str):
        experiment = ExperimentClient(retrieve_experiment(experiment_name), None)
        resp.body = experiment.plot.regret().to_json()
def on_get_regret ( self , req : Request , resp : Response , experiment_name : str ) : experiment = ExperimentClient ( retrieve_experiment ( experiment_name ) , None ) resp . body = experiment . plot . regret ( ) . to_json ( )
Handle GET requests for plotting regret plots on plots/regret/:experiment
where ``experiment`` is the user-defined name of the experiment.
Handle GET requests for plotting regret plots on plots / regret / : experiment where ` ` experiment ` ` is the user - defined name of the experiment .
"""
        Handle GET requests for plotting regret plots on plots/regret/:experiment
        where ``experiment`` is the user-defined name of the experiment.
        """
self
req
Request
resp
Response
experiment_name
str