import datetime
import pandas as pd
import math
import matplotlib.pyplot as plt
relevant = pd.io.parsers.read_csv(\'http://hasan.d8u.us/links.py.cgi?format=csv\')
bins = math.floor(len(relevant)/50)
plt.hist([int(datetime.datetime.fromtimestamp(t).strftime(\'%H\'))+1 for t in relevant[\'Timestamp\']], bins=bins, histtype=\'stepfilled\', range=[1,24])
plt.xlabel(\'Hour of Day\')
plt.title(\'What hour were links sent out?\')
plt.show()