code: def test_no_experiments(capsys, storage):
      """Test plot error message if experiment not found."""
      returncode = orion.core.cli.main(
          ["plot", "regret", "--name", "idontexist"]
      )
      assert returncode == 1
  
      captured = capsys.readouterr().err
  
      assert captured.startswith(
          "Error: No experiment with given name 'idontexist' and version '*'"
      )
  
imports: import random
  import pytest
  import orion.core.cli
  import orion.plotting.backend_plotly
  from orion.core.cli.plot import IMAGE_TYPES, VALID_TYPES
  from orion.plotting.base import SINGLE_EXPERIMENT_PLOTS
  from orion.storage.base import setup_storage
  from orion.testing import AssertNewFile
label_desc: Use image node_id 3 for calling a global function with example usage: test_no_experiments(capsys, storage) without return types