Fix plot format bug.