I don't know much about coding and am trying to open a .py my boyfriend wrote for me. I finally got matploglib/seaborn/numpy to install but now I am getting this error and don't know what it means/how to remedy it:
AttributeError: module 'numpy' has no attribute 'cost'
numpy is updated with the latest version. I tried to look for the answer before posting this but couldn't find it. If anyone could help, that'd be sick.
import matplotlib.pyplot as plt
import numpy as np
import seaborn as sns
t = np.arange(0,2*np.pi,0.1)
x = 16 * np.sin(t)**3
y = 13*np.cos(t)-5*np.cos(2*t)-2*np.cost(3*t)-np.cos(4*t)
plt.plot(x,y)
sns.set_style("dark")
sns.despine()
plt.show()