ys=[[6, 5, 2], [4, 5, 7]]
p = figure(plot_width=300, plot_height=300)
for (leg, x, y ) in zip(legends_list, xs, ys):
    print 1
    my_plot = p.line(x, y,legend= leg)

show(p)


# In[92]:

from bokeh.plotting import figure, output_notebook, show

p = figure(plot_width=300, plot_height=300,x_range=['2012','2013','2014'])
p.multi_line(
#     xs=[[1, 2, 3], [1, 3, 4]], 
    ys=[[6, 7, 2], [4, 5, 7]],
             color=['red','green'])

show(p)


# In[75]:

f,(ax1,ax2) = plt.subplots(2,1,sharex=True)
sns.barplot(x=pp['author_count'],y=pp['paper_count'],palette='Set3',ax=ax1)
sns.barplot(x=pp['author_count'],y=pp['citations_avg'],palette='Set3',ax=ax2)


# In[41]:

x = np.random.randn(100)