import pandas as pd
import numpy as np
from bokeh.palettes import Spectral11
from bokeh.plotting import figure, show, output_file
output_file('temp.html')
toy_df = pd.DataFrame(data=np.random.rand(5, 3), columns=('a', 'b', 'c'),
    index=pd.DatetimeIndex(start='01-01-2015', periods=5, freq='d'))
numlines = len(toy_df.columns)
mypalette = Spectral11[0:numlines]
p = figure(width=500, height=300, x_axis_type='datetime')
p.multi_line(xs=[toy_df.index.values] * numlines, ys=[toy_df[name].values for
    name in toy_df], line_color=mypalette, line_width=5)
show(p)
Построение нескольких линий с боке и пандами