code: def iter_style_files(style_dir):
      """Yield file path and name of styles in the given directory."""
      for path in os.listdir(style_dir):
          filename = os.path.basename(path)
          if is_style_file(filename):
              match = STYLE_FILE_PATTERN.match(filename)
              path = os.path.abspath(os.path.join(style_dir, path))
              yield path, match.groups()[0]
  
file_path: catboost/contrib/python/matplotlib/py2/matplotlib/style/core.py
imports: from __future__ import absolute_import, division, print_function
  import six
  import os
  import re
  import contextlib
  import warnings
  import matplotlib
  from matplotlib import rc_params_from_file, rcParamsDefault
label_desc: Use image node_id 9 for calling a global function with example usage: iter_style_files(style_dir) without return types