code: def single_frame_plot(obj):
      
      obj = Layout.from_values(obj) if isinstance(obj, AdjointLayout) else obj
  
      backend = Store.current_backend
      renderer = Store.renderers[backend]
  
      plot_cls = renderer.plotting_class(obj)
      plot = plot_cls(obj, **renderer.plot_options(obj, renderer.size))
      fmt = renderer.params('fig').objects[0] if renderer.fig == 'auto' else renderer.fig
      return plot, renderer, fmt
docs: Returns plot, renderer and format for single frame export.