Pycharm does not show plot

Just use

import matplotlib.pyplot as plt
plt.show()

This command tells the system to draw the plot in Pycharm.

Example:

plt.imshow(img.reshape((28, 28)))
plt.show()

Leave a Comment