Changing Matplotlib Backend Debug Mode
No one seems to have encountered this problem before: when running the following code lines in DEBUG mode, my python crashes . I am using python 2.7 with PyCharm 2016.3.
import matplotlib
matplotlib.use("qt4agg")
from matplotlib import pyplot as plt
If I work in stages it works. But if I set a breakpoint after this block, matplotlib.use () and import pyplot seem to hit each other. Does anyone know the problem?
+3
source to share