code: def suppress_matplotlib_deprecation_warning():
      with warnings.catch_warnings():
          warnings.simplefilter("ignore", MatplotlibDeprecationWarning)
          yield
  
file_path: matplotlib/lib/matplotlib/_api/deprecation.py
imports: import contextlib
  import functools
  import inspect
  import math
  import warnings
label_desc: Use image node_id 8 for calling a global function with example usage: suppress_matplotlib_deprecation_warning() without return types