In PyCharm Pro i tried to plot simple thing. 


import numpy as np
import matplotlib.pyplot as plt

x = np.array([1,2,3])
y = np.array([1,2,3])


The problem is that plot doesnt show. I tried

import matplotlib

It shows blank white window 'Figure 1' and doesnt work. I install matplotlib and numpy with pip. I ve got installed anaconda environment.

The code broke up after with Process finished with exit code -1073741819 (0xC0000005). I can take plot into variable and it looks like everything is fine by that. But after code stops. 

My laptop ASUS works in win10 and i think that it is problem with win but i dont know how to manage this.  

Comment actions Permalink

Could you please check if it works from the terminal outside of the IDE, using the same interpreter?

Comment actions Permalink

Actually i reinstall all stuff and with python 3.9 (i was using python 3.10) everthing is fine. So i think that post can be close. Thanks for help :) 


Please sign in to leave a comment.