code: def __init__(self, renderer):
      self.specification = dict(
          width=renderer.figwidth,
          height=renderer.figheight,
          data=renderer.data,
          scales=renderer.scales,
          axes=renderer.axes,
          marks=renderer.marks,
      )
  
file_path: catboost/contrib/python/plotly/py3/plotly/matplotlylib/mplexporter/renderers/vega_renderer.py
imports: import warnings
  import json
  import random
  from .base import Renderer
  from ..exporter import Exporter
label_desc: Use image node_id 1 to create a new VegaHTML object from inherited base classes: object with example: obj = VegaHTML(renderer)