code: def _get_plt():
      """Get MPL pyplot if it exists or raise an error if not"""
      _err_for_no_mpl()
      return mpl
  
file_path: pmdarima/pmdarima/utils/visualization.py
imports: from .array import check_endog
  from ..compat.pandas import plotting
  from ..compat.matplotlib import get_compatible_pyplot
  from statsmodels.graphics import tsaplots
  import numpy
  import os
label_desc: Use image node_id 2 for calling a global function with example usage: _get_plt() and returns: mpl