I had exactly the same problem with mine, I found the answer in solving the main problem with the matplotlib backend (by default, "macosx" by default "causes this problem"). The solution is to change the baseline in the matplotlibrc file, which you can find by running
import matplotlib matplotlib.matplotlib_fname()
in python terminal. In the matplotlibrc file, find and change the line
backend : macosx
to (for example):
backend : TkAgg
All problems should disappear. It worked for me, hope it will be useful.
source share