code: def test_frame_plot_ax(data, kind, info, ax):
      cols = info["usecols"]
      kwds = info.get("kwds", {})
      data = data[cols]
  
      chart = data.vgplot(kind=kind, ax=ax[0], **kwds)
      validate_vegalite(chart)
      assert isinstance(chart, ax[1])
  
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 8 for calling a global function with example usage: test_frame_plot_ax(data, kind, info, ax) without return types