code: def test_call_to(kind):
      """Tests instance calls to `PlotAccessor.{kind}()`"""
      with create_experiment(config, trial_config, ["completed"]) as (
          _,
          _,
          experiment,
      ):
          pa = PlotAccessor(experiment)
          plot = getattr(pa, kind)()
  
          check_plot(plot, kind)
  
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 6 for calling a global function with example usage: test_call_to(kind) without return types