fixed bugs in generation of line plots for hop count in class Visualize