How to Solve NameError: name 'BSpline' is not defined -- scipy

Solution: Import the 'BSpline' module

To Solve the error, add the following line to the top of your code.

from scipy import BSpline

 

For more information:
Python scipy BSpline