code: def assert_series_annotations(data, expected):
      data_meta = get_data_meta(data, None)
      assert expected == data_meta["series_annotations"]
  
file_path: lets-plot/python-package/test/plot/test_series_annotations.py
imports: from datetime import datetime
  from pandas import DataFrame, Categorical
  from lets_plot import aes
  from lets_plot.mapping import as_discrete
  from lets_plot.plot.util import as_annotated_data
label_desc: Use image node_id 8 for calling a global function with example usage: assert_series_annotations(data, expected) without return types