code: def show_images(images, titles=None):
      n_ims = len(images)
      if titles is None:
          titles = ["(%d)" % i for i in range(1, n_ims + 1)]
      fig = plt.figure()
      n = 1
      for image, title in zip(images, titles):
          a = fig.add_subplot(1, n_ims, n)
          if image.ndim == 2:
              plt.gray()
          plt.imshow(image)
          a.set_title(title)
          plt.axis("off")
          n += 1
      fig.set_size_inches(np.array(fig.get_size_inches()) * n_ims)
      plt.show()
  
file_path: Mozart/src/commonfunctions.py
imports: import skimage.io
  import matplotlib.pyplot
  import numpy
  from skimage.exposure import histogram
  from matplotlib.pyplot import bar
  from skimage.color import rgb2gray
  from skimage.filters import threshold_otsu, gaussian, median
  from skimage.morphology import binary_opening, binary_closing, binary_dilation, binary_erosion, closing, opening, square, skeletonize, disk
  from skimage.feature import canny
  from skimage.transform import resize
label_desc: Use image node_id 1 for calling a global function with example usage: show_images(images, titles) without return types