Код: Выделить всё
import matplotlib.pyplot as plt
import numpy as np
x = np.linspace(0, 5, 100)
y = x**2
plt.plot(x, y)
plt.xlabel("X-axis")
plt.ylabel("Y-axis")
plt.title("graph of $x^2$")
plt.show()
[img]https:/ /i.sstatic.net/Lle54.png[/img]
Я успешно установил NumPy, но все равно получаю это предупреждение. Как мне от этого избавиться?
Подробнее здесь: https://stackoverflow.com/questions/701 ... ed-pylance