code: def _check_matplotlib_available() -> None:
      if isinstance(plt, Exception):
          raise plt
  
file_path: lightly/lightly/utils/debug.py
imports: from typing import List, Union
  import torch
  import torchvision
  from PIL import Image
  from lightly.data.collate import BaseCollateFunction, MultiViewCollateFunction
label_desc: Use image node_id 1 for calling a global function with example usage: _check_matplotlib_available() without return types