code: def test_series_plot_kwd_warnings(data, kind, info):
      col = info["col"]
      kwds = info.get("kwds", {})
      data = data[col]
  
      with pytest.warns(
          UserWarning,
          match="Unrecognized keywords in vgplot.[a-z]+\(\): 'unrecognized_arg'",
      ):
          data.vgplot(kind=kind, unrecognized_arg=None, **kwds)
  
      with pytest.warns(UserWarning):
          data.vgplot(
              kind=kind, unrecognized1=None, unrecognized2=None, **kwds
          )
  
file_path: pdvega/pdvega/tests/test_core_common.py
imports: import pytest
  import pandas
  import pdvega
  from .utils import validate_vegalite
label_desc: Use image node_id 11 for calling a global function with example usage: test_series_plot_kwd_warnings(data, kind, info) without return types