code: def test_no_matplotlib_plot_model_comparison():
      with pytest.raises(RuntimeError) as exc:
          plot_model_comparison(
              x_axis_metric=lambda x: None,
              y_axis_metric=lambda x: None,
              y_true=[],
              y_preds={},
              sensitive_features=[],
          )
          assert str(exc.value) == _MATPLOTLIB_IMPORT_ERROR_MESSAGE
  
file_path: fairlearn/test/install/test_no_matplotlib.py
imports: import numpy
  import pytest
  from sklearn.base import BaseEstimator, ClassifierMixin
  from fairlearn.postprocessing import ThresholdOptimizer, plot_threshold_optimizer
  from fairlearn.postprocessing._constants import _MATPLOTLIB_IMPORT_ERROR_MESSAGE
  from fairlearn.metrics import plot_model_comparison
  from fairlearn.postprocessing._threshold_optimizer import SIMPLE_CONSTRAINTS
label_desc: Use image node_id 2 for calling a global function with example usage: test_no_matplotlib_plot_model_comparison() without return types