code: def test_plot_dependence(precalculated_catboost_regression_explainer):
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Age"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Sex"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Age", "Sex"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Age", highlight_index=0
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Sex", highlight_index=0
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Deck", topx=3, sort="freq"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Deck", topx=3, sort="shap"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Deck", sort="freq"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_regression_explainer.plot_dependence(
          "Deck", sort="shap"
      )
      assert isinstance(fig, go.Figure)
  
imports: import pandas
  import numpy
  from pandas.api.types import is_categorical_dtype, is_numeric_dtype
  import plotly.graph_objs
label_desc: Use image node_id 26 for calling a global function with example usage: test_plot_dependence(precalculated_catboost_regression_explainer) without return types