Skip to content

Commit b0d3d8a

Browse files
committed
newer scipy does not seem to have attribute pi
1 parent ccd3efc commit b0d3d8a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/16-scipy.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@
10431043
"import scipy.fft\n",
10441044
"import numpy as np\n",
10451045
"import matplotlib.pyplot as plt\n",
1046-
"pi = scipy.pi\n",
1046+
"pi = np.pi\n",
10471047
"\n",
10481048
"signal_length = 0.5 # [seconds]\n",
10491049
"sample_rate = 500 # sampling rate [Hz]\n",
@@ -1335,4 +1335,4 @@
13351335
},
13361336
"nbformat": 4,
13371337
"nbformat_minor": 1
1338-
}
1338+
}

0 commit comments

Comments
 (0)