Skip to content

Commit 99e56f8

Browse files
committed
Use Numpy API for pi instead of undocumented scipy.pi
1 parent 5c38d4f commit 99e56f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/type2_type3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import os
66
import matplotlib.pyplot as plt # Grab MATLAB plotting functions
77
from control.matlab import * # MATLAB-like functions
8-
from scipy import pi
8+
from numpy import pi
99
integrator = tf([0, 1], [1, 0]) # 1/s
1010

1111
# Parameters defining the system

0 commit comments

Comments
 (0)