code: def test_no_matplotlib_ok():
      msg = (
          'matplotlib is required for plotting when the default backend "matplotlib" is '
          "selected."
      )
      with pytest.raises(ImportError, match=msg):
          pandas.plotting._core._get_plot_backend("matplotlib")
  
file_path: pandas/pandas/tests/plotting/test_backend.py
imports: import sys
  import types
  import pytest
  import pandas.util._test_decorators
  import pandas
label_desc: Use image node_id 8 for calling a global function with example usage: test_no_matplotlib_ok() without return types