code: def warn_if_keywords_unused(kind, kwds):
      if kwds:
          if len(kwds) == 1:
              keys = tuple(kwds.keys())[0]
          else:
              keys = tuple(kwds.keys())
          warnings.warn(
              "Unrecognized keywords in vgplot.{0}(): {1}"
              "".format(kind, repr(keys))
          )
  
file_path: pdvega/pdvega/_utils.py
imports: import warnings
  import numpy
  import pandas
  from ._pandas_internals import infer_dtype
  from ._pandas_internals import _infer_dtype_kwds
label_desc: Use image node_id 3 for calling a global function with example usage: warn_if_keywords_unused(kind, kwds) without return types