code: def test_plot_confusion_matrix(precalculated_rf_classifier_explainer):
      fig = precalculated_rf_classifier_explainer.plot_confusion_matrix(
          percentage=False, binary=False
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_classifier_explainer.plot_confusion_matrix(
          percentage=False, binary=True
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_classifier_explainer.plot_confusion_matrix(
          percentage=True, binary=False
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_classifier_explainer.plot_confusion_matrix(
          percentage=True, binary=True
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_classifier_explainer.plot_confusion_matrix(
          normalize="all"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_classifier_explainer.plot_confusion_matrix(
          normalize="observed"
      )
      assert isinstance(fig, go.Figure)
  
      fig = precalculated_rf_classifier_explainer.plot_confusion_matrix(
          normalize="pred"
      )
      assert isinstance(fig, go.Figure)
  
file_path: explainerdashboard/tests/test_classifier_explainer.py
imports: import pandas
  import numpy
  import plotly.graph_objects
label_desc: Use image node_id 10 for calling a global function with example usage: test_plot_confusion_matrix(precalculated_rf_classifier_explainer) without return types