I put the image in a NumPy array, and draw it with the following code. How can I tell the program not to draw the axes, like (0, 100, 200...)
import matplotlib.pyplot as plt
plt.figure()
plt.imshow(output_ndarray)
plt.savefig(output_png)
I put the image in a NumPy array, and draw it with the following code. How can I tell the program not to draw the axes, like (0, 100, 200...)
import matplotlib.pyplot as plt
plt.figure()
plt.imshow(output_ndarray)
plt.savefig(output_png)
numpngwthat I wrote.Axesobject also contains the image and other "artists". For those searching for actually hiding the axes:ax.set_visible(False)