I'm trying to run a simple code in Pycharm
Community Edition 4.5.3 to display a graph with some points using matplotlib
import matplotlib.pyplot as plt
plt.plot([5,4,4,4,6,6,7,7,8,8,9,10,10,10,10,11,11,12,12,13],
[5,7,10,13,8,14,7,11,5,13,9,4,6,12,14,8,10,6,13,8], 'ro')
plt.plot([6,7],[8,7],'bo-')
plt.axis([0, 15, 0, 15])
plt.show()
Although matplotlib
is installed properly Pycharm is not recognizing it. I'm getting this error message on running the above code in Pycharm
ImportError: No module named 'matplotlib'
matplotlib
?