Fixed formatting issue causing example crash

- not sur ewhy matplot lib is dying on OSX and not other OS's with the
existing formating, but changing it to %.f3 from {0:.3f} format style
fixes it on OSX and still works on other OS's.