code: def _remove_blacklisted_style_params(d, warn=True):
      o = {}
      for key, val in d.items():
          if key in STYLE_BLACKLIST:
              if warn:
                  warnings.warn(
                      "Style includes a parameter, '{0}', that is not related "
                      "to style.  Ignoring".format(key)
                  )
          else:
              o[key] = val
      return o
  
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 1 for calling a global function with example usage: _remove_blacklisted_style_params(d, warn) and returns: o