code: def plot_grid(children, show_plot=True, return_html=False, **kwargs):
      """Create a grid of plots rendered on separate canvases and shows the layout.
      plot_grid is designed to layout a set of plots.
  
      ---------------------------------------------------------------
      Parameters:
  
      -children (list of lists of Plot) – An array
          of plots to display in a grid, given as a list of lists of Plot objects. To
          leave a position in the grid empty, pass None for that position in the children
          list. OR list of Plot if called with ncols. OR an instance of GridSpec.
      - show_plot (bool, default=True) - Show the plot grid when function gets called
      - sizing_mode ("fixed", "stretch_both", "scale_width", "scale_height",
          "scale_both") – How will the items in the layout resize to fill the available
          space. Default is "fixed". For more information on the different modes see
          sizing_mode description on LayoutDOM.
      - toolbar_location (above, below, left,
          right) – Where the toolbar will be located, with respect to the grid. Default is
          above. If set to None, no toolbar will be attached to the grid.
      -ncols (int, optional) – Specify the number of columns you would like in your grid.
          You must only pass an un-nested list of plots (as opposed to a list of lists of
          plots) when using ncols.
      - width (int, optional) – The width you would like all your
          plots to be
      - height (int, optional) – The height you would like all your
          plots to be.
      - toolbar_options (dict, optional) – A dictionary of options that
          will be used to construct the grid’s toolbar (an instance of ToolbarBox). If
          none is supplied, ToolbarBox’s defaults will be used.
      - merge_tools (True, False) – Combine tools from all child plots into a single
          toolbar.
  
      -------------------------------------------------------------------
      Returns:
  
          A row or column containing the grid toolbar and the grid of plots
          (depending on whether the toolbar is left/right or above/below).
          The grid is always a Column of Rows of plots."""
  
      layout = gridplot(children=children, **kwargs)
  
      if show_plot:
          show(layout)
  
      if return_html:
          return embedded_html(layout)
  
      return layout
  
file_path: Pandas-Bokeh/pandas_bokeh/base.py
imports: import bokeh.plotting
  from bokeh.embed import components
  from bokeh.layouts import gridplot
  from bokeh.resources import CDN
label_desc: Use image node_id 3 for calling a global function with example usage: plot_grid(children, show_plot, return_html) and returns: layout, embedded_html