I am trying to resolve === Help me to fix this
plt.figure(1 , figsize = (15 , 9))
n = 0
for i in range(49):
n += 1
r = np.random.randint(0 , cells.shape[0] , 1)
plt.subplot(7 , 7 , n)
plt.subplots_adjust(hspace = 0.5 , wspace = 0.5)
plt.imshow(cells[r[0]])
plt.title('{} : {}'.format('Infected' if labels[r[0]] == 1 else 'Unifected' ,
labels[r[0]]) )
plt.xticks([]) , plt.yticks([])
plt.show()
In line = r = np.random.randint(0 , cells.shape[0] , 1) there is error = ValueError:: low >= high