code: def test_FeatureImportances(self) -> None:
      model = get_modelbridge()
      # Assert that each type of plot can be constructed successfully
      plot = plot_feature_importance_by_feature_plotly(model=model)
      self.assertIsInstance(plot, go.Figure)
      plot = plot_feature_importance_by_feature_plotly(
          model=model, caption=DUMMY_CAPTION
      )
      self.assertIsInstance(plot, go.Figure)
      # pyre-fixme[16]: `Figure` has no attribute `layout`.
      self.assertEqual(len(plot.layout.annotations), 1)
      self.assertEqual(plot.layout.annotations[0].text, DUMMY_CAPTION)
      plot = plot_feature_importance_by_feature(model=model)
      self.assertIsInstance(plot, AxPlotConfig)
      plot = plot_feature_importance_by_metric_plotly(model=model)
      self.assertIsInstance(plot, go.Figure)
      plot = plot_feature_importance_by_metric(model=model)
      self.assertIsInstance(plot, AxPlotConfig)
      plot = plot_relative_feature_importance_plotly(model=model)
      self.assertIsInstance(plot, go.Figure)
      plot = plot_relative_feature_importance(model=model)
      self.assertIsInstance(plot, AxPlotConfig)
  
      lengthscale_sensitivity_values = get_sensitivity_values(model)
      plot = plot_feature_importance_by_feature_plotly(
          sensitivity_values=lengthscale_sensitivity_values
      )
      self.assertIsInstance(plot, go.Figure)
      plot = plot_feature_importance_by_feature_plotly(
          sensitivity_values=lengthscale_sensitivity_values,
          caption=DUMMY_CAPTION,
      )
      self.assertIsInstance(plot, go.Figure)
      self.assertEqual(len(plot.layout.annotations), 1)
      self.assertEqual(plot.layout.annotations[0].text, DUMMY_CAPTION)
      plot = plot_feature_importance_by_feature_plotly(
          sensitivity_values=lengthscale_sensitivity_values,
          importance_measure="Lengthscales",
      )
      self.assertIsInstance(plot, go.Figure)
      plot = plot_feature_importance_by_feature(
          sensitivity_values=lengthscale_sensitivity_values
      )
      self.assertIsInstance(plot, AxPlotConfig)
  
file_path: Ax/ax/plot/tests/test_feature_importances.py
imports: from typing import Dict
  import torch
  from ax.modelbridge.base import ModelBridge
  from ax.modelbridge.registry import Models
  from ax.plot.base import AxPlotConfig
  from ax.plot.feature_importances import plot_feature_importance_by_feature, plot_feature_importance_by_feature_plotly, plot_feature_importance_by_metric, plot_feature_importance_by_metric_plotly, plot_relative_feature_importance, plot_relative_feature_importance_plotly
  from ax.utils.common.testutils import TestCase
  from ax.utils.testing.core_stubs import get_branin_experiment
  from ax.utils.testing.mock import fast_botorch_optimize
  from plotly import graph_objects
label_desc: Use image node_id 1 for calling the FeatureImportancesTest obj's underlying member method code with example usage: obj.test_FeatureImportances() without return types