code: def test_frame_plot_interactive(data, kind, info):
      cols = info["usecols"]
      kwds = info.get("kwds", {})
      data = data[cols]
  
      chart = data.vgplot(kind=kind, **kwds)
      validate_vegalite(chart)
      assert "selection" not in chart.to_dict()
  
      chart = data.vgplot(kind=kind, **kwds).interactive()
      validate_vegalite(chart)
      s = chart.to_dict()
      assert next(iter(s["selection"].values())) == {
          "bind": "scales",
          "encodings": ["x", "y"],
          "type": "interval",
      }
  
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 4 for calling a global function with example usage: test_frame_plot_interactive(data, kind, info) without return types