I have a multidimensional array (11, 28, 28)
which consists of 11 images, each with 28*28 pixels.
x_train_new_reshaped[0].shape
Out[8]: (11, 28, 28)
How can I display them all at once?
This results in:
In:
image = x_train_new_reshaped[0]
plt.figure()
plt.imshow(image)
plt.show()
Out:
TypeError: Invalid dimensions for image data
This as well:
In:
image = np.squeeze(x_train_new_reshaped[0])
plt.figure()
plt.imshow(image)
plt.show()
Out:
TypeError: Invalid dimensions for image data
Any help is appreciated.