code: def test_Contours(self) -> None:
      exp = get_branin_experiment(
          with_str_choice_param=True, with_batch=True
      )
      exp.trials[0].run()
      model = Models.BOTORCH_MODULAR(
          # Model bridge kwargs
          experiment=exp,
          data=exp.fetch_data(),
      )
      # Assert that each type of plot can be constructed successfully
      plot = plot_contour_plotly(
          model,
          # pyre-fixme[16]: `ModelBridge` has no attribute `parameters`.
          model.parameters[0],
          model.parameters[1],
          list(model.metric_names)[0],
      )
      self.assertIsInstance(plot, go.Figure)
      plot = interact_contour_plotly(model, list(model.metric_names)[0])
      self.assertIsInstance(plot, go.Figure)
      plot = interact_contour(model, list(model.metric_names)[0])
      self.assertIsInstance(plot, AxPlotConfig)
      plot = plot = plot_contour(
          model,
          model.parameters[0],
          model.parameters[1],
          list(model.metric_names)[0],
      )
      self.assertIsInstance(plot, AxPlotConfig)
  
      # Make sure all parameters and metrics are displayed in tooltips
      tooltips = list(exp.parameters.keys()) + list(exp.metrics.keys())
      for d in plot.data["data"]:
          # Only check scatter plots hoverovers
          if d["type"] != "scatter":
              continue
          for text in d["text"]:
              for tt in tooltips:
                  self.assertTrue(tt in text)
  
file_path: Ax/ax/plot/tests/test_contours.py
imports: import plotly.graph_objects
  from ax.modelbridge.registry import Models
  from ax.plot.base import AxPlotConfig
  from ax.plot.contour import interact_contour, interact_contour_plotly, plot_contour, plot_contour_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
label_desc: Use image node_id 1 for calling the ContoursTest obj's underlying member method code with example usage: obj.test_Contours() without return types