Clean up formatting of sample for navigate3.py.