__author__ = 'gary'

from bokeh.charts import Histogram
from bokeh.plotting import output_file, show

import pandas as pd


def main():
    df = pd.read_pickle('graph_frame.pickle')
    hist = Histogram(df, 100, 'time', xscale='datetime', color='schema', title="fails")
    output_file("histograms.html")
    show(hist)


if __name__ == '__main__':
    main()