code: def initialize_plot(self, ranges=None, plot=None, plots=None, source=None):
          
          # Get element key and ranges for frame
          element = self.hmap.last
          key = self.keys[-1]
          self.current_frame = element
          self.current_key = key
  
          data, _, _ = self.get_data(element, ranges, {})
          div = BkDiv(text=data, width=self.width, height=self.height)
          self.handles['plot'] = div
          self._execute_hooks(element)
          self.drawn = True
          return div
docs: Initializes a new plot object with the last available frame.