X-Git-Url: https://projects.mako.cc/source/matplotlib-cdsw/blobdiff_plain/7bd9bbbbb11d7585b76e63e354c0c779d5a8c547..dfe31e99ffd673eda443a288459e07c672b181a2:/load_hp_data.py diff --git a/load_hp_data.py b/load_hp_data.py index 0fe78c5..55d497c 100644 --- a/load_hp_data.py +++ b/load_hp_data.py @@ -22,7 +22,7 @@ for row in reader: row['size'] = int(row['size']) rows.append(row) -# Sort these things, so that they give you nice time-series +# Sort these things, so that they give you nice ordered time-series sort_rows = sorted(rows, key=lambda row: row['timestamp'], reverse=False) rows = sort_rows