I have the following code:
fig, ax = plt.subplots()
fig.set_size_inches(10, 10, forward=True)
min_val, max_val = 0, 28
inputBild = np.round(np.reshape(inputBild, [28, 28]), 1)
plt.imshow(inputBild)
for i in range(28):
for j in range(28):
c = inputBild[j,i]
ax.text(i, j, str(c), va='center', ha='center')
ax.set_facecolor((1.0, 0.47, 0.42))
plt.savefig('/tmp/inputMitZahlOhneCmap.png', bbox_inches='tight')
inputBild is a random image of the mnist dataset.
I want to only plot the numbers but not the colormap. How can I remove it if I didn't even specify one?