code: def save_image(array, path_to_image):
      """
      Function to save image(RGB values array) at given path (filename and location).
      """
      # saving array of RGB values as an image
      image = np.array(array) / 255.0
      plt.imsave(path_to_image, image)
  
file_path: shap/shap/utils/image.py
imports: import os
  from textwrap import wrap
  import cv2
  import matplotlib.pyplot
  import numpy
  import shap
label_desc: Use image node_id 6 for calling a global function with example usage: save_image(array, path_to_image) without return types