code: def show_image(ax, image):
      image_shape = (62, 47)
      ax.imshow(image.reshape(image_shape), cmap=plt.cm.gray)
  
file_path: neupy/examples/boltzmann_machine/rbm_faces_sampling.py
imports: import itertools
  import numpy
  import matplotlib.pyplot
  from sklearn import datasets
  from sklearn.model_selection import train_test_split
  from skimage.filters import threshold_local
  from neupy import algorithms, utils
  from neupy.utils import asfloat
label_desc: Use image node_id 1 for calling a global function with example usage: show_image(ax, image) without return types