code: def test_series_plot_width_height(data, kind, info):
      col = info["col"]
      kwds = info.get("kwds", {})
      data = data[col]
  
      spec = data.vgplot(kind=kind, width=300, height=200, **kwds)
      validate_vegalite(spec)
      assert (spec["width"], spec["height"]) == (300, 200)
  
      spec = data.vgplot(kind=kind, **kwds)
      validate_vegalite(spec)
      s = spec.to_dict()
      assert (s["width"], s["height"]) == (450, 300)
  
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 9 for calling a global function with example usage: test_series_plot_width_height(data, kind, info) without return types