code: def test_plot_contributions(
      precalculated_catboost_classifier_explainer,
  ):
      fig = precalculated_catboost_classifier_explainer.plot_contributions(
          0
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_catboost_classifier_explainer.plot_contributions(
          X_row=precalculated_catboost_classifier_explainer.X.iloc[[0]],
          sort="importance",
      )
      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 23 for calling a global function with example usage: test_plot_contributions(precalculated_catboost_classifier_explainer) without return types