dx: a small bug fix in make_plots.py