return np.array([np.asarray(Image.open('face.png').convert('RGB'))] * 12)
array = make_array()
result = gallery(array)
plt.imshow(result)
plt.show()
More idomatic way to display images in a grid with numpy