Revert "Update Visualizer.cpp"

This reverts commit 65c0b11d21abf79790707c6375cf856dbbc8f236.