Fixed display of fractions in the line display of the visualize function.