plot_complexity.py