Use OrderedDict in visualizer.py to preserve plot orders.