neuniversity / ALY6140

1 stars 3 forks source link

Issue - Bokeh Boxplot #20

Open pr24 opened 5 years ago

pr24 commented 5 years ago

anybody plotted boxplot using bokeh ?

cloverpyy commented 5 years ago

You can use HoloViews for a very high level API built to on Bokeh that is actively maintained. activate your python and pip install holoviews Holoviews official: http://holoviews.org/ method for boxplot: http://holoviews.org/gallery/demos/bokeh/boxplot_chart.html

hansu101 commented 5 years ago

For more information, I recommend below website http://holoviews.org/reference/elements/bokeh/BoxWhisker.html. With the code "hv.BoxWhisker", we can easily approach the question!

Jin-pengSong commented 5 years ago

I use the similar method you mentioned above. But it does not show any chart. My code: import numpy as np import holoviews as hv box=hv.BoxWhisker(tips,['sex','day'],'total_bill',label=title) show(box)

Can you give me some suggestions?

siuol456 commented 5 years ago

I think instead of show, you should directly type things like below box=hv.BoxWhisker(tips,['sex','day'],'total_bill',label=title) box