making plot_lightcurves use dict unwrapping properly