code: def test_regret_is_default_plot():
      """Tests that the regret plot is the default plot"""
      with create_experiment(config, trial_config, ["completed"]) as (
          _,
          _,
          experiment,
      ):
          pa = PlotAccessor(experiment)
          plot = pa()
  
          check_plot(plot, "regret")
  
file_path: orion/tests/unittests/plotting/test_plot_accessor.py
imports: import pytest
  from orion.core.worker.experiment import Experiment
  from orion.plotting.base import PlotAccessor
  from orion.testing import create_experiment
label_desc: Use image node_id 4 for calling a global function with example usage: test_regret_is_default_plot() without return types