Not sure how to comment on the text in the figure file itself so I'll put it here. The example:

>>> t2 = t1[t1['flux'] > 5.0]

Could use more comments as to what it is doing (e.g., #select all rows of t1 where the value in the flux column > 5.0)