docstr: Initializes a new plot object with the last available frame.
docstr_tok: ["Initializes","a","new","plot","object","with","the","last","available","frame","."]
code: def initialize_plot(
      self, ranges=None, plot=None, plots=None, source=None
  ):
      """
      Initializes a new plot object with the last available frame.
      """
      # Get element key and ranges for frame
      element = self.hmap.last
      key = self.keys[-1]
      self.current_frame = element
      self.current_key = key
  
      style = self.lookup_options(element, "style")[self.cyclic_index]
      data, _, style = self.get_data(element, ranges, style)
      if source is None:
          source = self._init_datasource(data)
      self.handles["source"] = self.handles["cds"] = source
      self.handles["selected"] = source.selected
      if self.selected is not None:
          source.selected.indices = self.selected
  
      columns = self._get_columns(element, data)
      style["reorderable"] = False
      table = DataTable(
          source=source,
          columns=columns,
          height=self.height,
          width=self.width,
          **style,
      )
      self.handles["table"] = table
      self.handles["glyph_renderer"] = table
      self._execute_hooks(element)
      self.drawn = True
  
      title = self._get_title_div(self.keys[-1], "10pt")
      if title:
          plot = Column(title, table)
          self.handles["title"] = title
      else:
          plot = table
      self.handles["plot"] = plot
  
      for cb in self.callbacks:
          cb.initialize()
      return plot
  
file_path: holoviews/holoviews/plotting/bokeh/tabular.py
imports: import param
  from bokeh.models import Column
  from bokeh.models.widgets import DataTable, DateEditor, DateFormatter, IntEditor, NumberEditor, NumberFormatter, StringEditor, StringFormatter, TableColumn
  from ...core import Dataset, Dimension
  from ...core.util import dimension_sanitizer, isdatetime
  from ...element import ItemTable
  from ...streams import Buffer
  from ..plot import GenericElementPlot
  from .plot import BokehPlot
  from .selection import TabularSelectionDisplay
label_desc: Use image node_id 3 for calling the TablePlot obj's underlying member method code with example usage: obj.initialize_plot(ranges, plot, plots, source) and returns: plot