class_docstr: Test assessment AverageRank
docstr: Test assessment plot
docstr_tok: ["Test","assessment","plot"]
code: def test_analysis(self, experiment_config, trial_config):
      """Test assessment plot"""
      ar1 = AverageRank()
  
      with create_experiment(
          experiment_config, trial_config, ["completed"]
      ) as (
          _,
          experiment,
          _,
      ):
          figure = ar1.analysis("task_name", [(0, experiment)])
  
      assert type(figure["rankings"]) is plotly.graph_objects.Figure
  
file_path: orion/tests/unittests/benchmark/test_assessments.py
imports: import plotly
  import pytest
  from orion.benchmark.assessment import AverageRank, AverageResult, ParallelAssessment
  from orion.testing import create_experiment, create_study_experiments
  from orion.testing.plotting import assert_durations_plot, assert_rankings_plot, assert_regrets_plot, asset_parallel_assessment_plot
label_desc: Use image node_id 2 for calling the TestAverageRank obj's underlying member method code with example usage: obj.test_analysis(experiment_config, trial_config) without return types