code: def _tile_plot(imgs, titles, **kwargs):
      """
      Helper function
      """
      # Create a new figure and plot the three images
      fig, ax = plt.subplots(1, len(imgs))
      for ii, a in enumerate(ax):
          a.set_axis_off()
          a.imshow(imgs[ii], **kwargs)
          a.set_title(titles[ii])
  
      return fig
  
file_path: dipy/dipy/viz/regtools.py
imports: import numpy
  from dipy.utils.optpkg import optional_package
label_desc: Use image node_id 1 for calling a global function with example usage: _tile_plot(imgs, titles) and returns: fig