def plot_images_separately(images):
 fig = plt.figure()
 for j in xrange(1, 7):
  ax = fig.add_subplot(1, 6, j)
  ax.matshow(images[(j - 1)], cmap=matplotlib.cm.binary)
  plt.xticks(np.array([]))
  plt.yticks(np.array([]))
 plt.show()

def plot_images_separately ( images ) : fig = plt . figure ( ) for j in xrange ( 1 , 7 ) : ax = fig . add_subplot ( 1 , 6 , j ) ax . matshow ( images [ ( j - 1 ) ] , cmap = matplotlib . cm . binary ) plt . xticks ( np . array ( [ ] ) ) plt . yticks ( np . array ( [ ] ) ) plt . show ( )
plot the six mnist images separately .