code: def _raise_error_if_matplotlib_not_there():
      if not matplotlib:
          raise ImportError(
              "matplotlib needs to be installed to use this function."
          )
  
file_path: poutyne/poutyne/plotting.py
imports: import itertools
  import os
  from typing import Any, Dict, List, Optional, Tuple, Union
  from poutyne.utils import is_in_jupyter_notebook
label_desc: Use image node_id 1 for calling a global function with example usage: _raise_error_if_matplotlib_not_there() without return types