Monkey patched plot.py to work with large sweeps