Please excuse me if I missed something, since I have started using bokeh recently, but for some reason I am having issues:
- This works:
Scatter(sectionHour, x=‘Section+Hour of the day (EST)’, y=‘Number of Posts’)
but this does not:
s1 = figure(title=“Posts with clicks”, width=800, height=400)
s1.circle(sectionHour[‘Section+Hour of the day (EST)’], sectionHour[‘Number of Posts’], size=7, color=“navy”, alpha=0.5)
- Is there a way to use a different colors for categorical values in high level charts? Like “Scatter” and “Bar” ?
Like when I did:
p1 = Scatter(DayOfWeek, x=‘Number of Posts’, y=‘Total Clicks’, color=‘Day of the week (EST)’, legend=‘top_left’)
I have 7 different colors but this default uses 2 same colors. How can I use something like “spectral16” for that?
- When I am drawing scattermap plots, is there a way to draw ‘lm’ regression model lines on top of the scattermap? It works fine in seaborn but converting it to bokeh removes the points itself
It works fine in seaborn: ax = sns.regplot(x=‘Average Number of Clicks’, y=‘Average Number of Impressions’, data=hours)