Nicified midpoint_example.py.