In [15]:
import numpy as mp
import pandas as pd
from bokeh.charts import TimeSeries, output_file, show

In [7]:
df = pd.read_csv('result_0_1.txt', header=None, names=['Temperature', 'Cost'])
df.head()


Out[7]:
Temperature Cost
0 100 123.299
1 100 123.394
2 100 127.153
3 100 128.125
4 100 128.407

In [19]:
output_file("report.html")

data = dict(Temp = df['Temperature'], Cost=df['Cost'])

# create a new plot (with a title) using figure
p = figure(plot_width=800, plot_height=400, title="SA Progression")

# add a line renderer
p.line(df['Temperature'][::-1], df['Cost'], line_width=2)

show(p) # show the results

In [ ]: