def METHOD_NAME(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 = []