Pycharm does not show plot from the following code:
import pandas as pd import numpy as np import matplotlib as plt ts = pd.Series(np.random.randn(1000), in
Just use
plt.show()
This command tells the system to draw the plot in Pycharm.
Example:
plt.imshow(img.reshape((28, 28))) plt.show()