in plots.py, prepare_eqs_by_mag_time_for_d3, line 1099: `TypeError: '>' not supported between instances of 'datetime.timedelta' and 'int'`