Fixed plot_aggregated_data input args