I'm trying to plot a graph in my pycharm ide using the matplotlib library. But I am unable to do so. Because Pycharm shows me this message : Cannot find reference 'linspace' in 'init.pyi | init.pyi' Here's my code =
x=[[1,2,3],[4,5,6],[7,8,9]]
import numpy as np
import matplotlib.pyplot as plt
a=np.array(x)
print(a)
x = np.linspace(0, 10, 100)
y= x ** 2
plt.plot(x,y)
Can anyone tell me what I'm doing wrong?