You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the shapes tutorial, for the yellow lines, there are several places where constants are not defined as np.<constant>, even though they are inherited from NumPy. The code currently reads:
Where sin() and cos() have been fixed to np.sin() and np.cos(), and pi has been fixed to np.pi. Without it, the script doesn't compile properly (at least not for me).
Edit: I have posted a pull request. I can't link it to this issue because I don't have edit access, but I forked this repo and created a pull from a branch on my fork.
The text was updated successfully, but these errors were encountered:
In the shapes tutorial, for the yellow lines, there are several places where constants are not defined as
np.<constant>
, even though they are inherited from NumPy. The code currently reads:But needs to be fixed to:
Where
sin()
andcos()
have been fixed tonp.sin()
andnp.cos()
, andpi
has been fixed tonp.pi
. Without it, the script doesn't compile properly (at least not for me).Edit: I have posted a pull request. I can't link it to this issue because I don't have edit access, but I forked this repo and created a pull from a branch on my fork.
The text was updated successfully, but these errors were encountered: