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
My env: macOS & anaconda3
This works for me:
matplotlib.use('macosx')
or interactive mode:
matplotlib.use('TkAgg')