There was an error while loading. Please reload this page.
Borrowed from Matthew Feickert, and example code from SciPy documentation.