code: def get_icon(name):
      basedir = osp.join(matplotlib.rcParams["datapath"], "images")
      return QtGui.QIcon(osp.join(basedir, name))
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/backends/qt_editor/figureoptions.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import os.path
  import re
  import matplotlib
  from matplotlib import cm, colors, markers, image
  import matplotlib.backends.qt_editor.formlayout
  from matplotlib.backends.qt_compat import QtGui
label_desc: Use image node_id 1 for calling a global function with example usage: get_icon(name) and returns: QtGui