Tensor quantity

t =np.zeros((5,5,3),dtype =‘uint8’)

plt.imshow(t)
plt.show()

when the output comes image is formed of 5 rows and 5 columns but we form a tensor of 5 rows and 3 columns ??