class_docstr: A custom Vega-Lite display object.
docstr: Initialize the visualization object.
code: def __init__(self, spec, data=None, opt=None):
      """Initialize the visualization object."""
      self.opt = opt or {}
      self.spec = self._prepare_spec(spec, data)
  
file_path: ipyvega/vega/base.py
imports: from __future__ import absolute_import
  import json
  import uuid
  from IPython.display import display
  from .None import utils
label_desc: Use image node_id 1 to create a new VegaBase object from inherited base classes: object with example: obj = VegaBase(spec, data, opt)