code: def assert_lpi_plot(plot, dims):
      """Checks the layout of a LPI plot"""
      assert (
          plot.layout.title.text
          == "LPI for experiment 'experiment-name'"
      )
      assert plot.layout.xaxis.title.text == "Hyperparameters"
      assert (
          plot.layout.yaxis.title.text
          == "Local Parameter Importance (LPI)"
      )
  
      trace = plot.data[0]
      assert trace["x"] == tuple(dims)
      assert trace["y"][0] > trace["y"][1]
      assert len(trace["error_y"]["array"]) == len(dims)
  
file_path: orion/src/orion/testing/plotting.py
label_desc: Use image node_id 6 for calling a global function with example usage: assert_lpi_plot(plot, dims) without return types