fix Scipy notebook