Fix problems related to streamplot in boilerplate.py