code: def open_figure(self, fig, props):
      self.props = props
      self.figwidth = int(props["figwidth"] * props["dpi"])
      self.figheight = int(props["figheight"] * props["dpi"])
      self.data = []
      self.scales = []
      self.axes = []
      self.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 for calling the VegaRenderer obj's underlying member method code with example usage: obj.open_figure(fig, props) without return types