code: def test_plot_importances(precalculated_rf_multiclass_explainer):
      fig = precalculated_rf_multiclass_explainer.plot_importances()
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_multiclass_explainer.plot_importances(
          kind="permutation"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_multiclass_explainer.plot_importances(
          topx=3
      )
      assert isinstance(fig, go.Figure)
  
imports: import pytest
  import pandas
  import numpy
  import plotly.graph_objects
label_desc: Use image node_id 20 for calling a global function with example usage: test_plot_importances(precalculated_rf_multiclass_explainer) without return types