neuniversity / ALY6140

1 stars 3 forks source link

Problem about Constructing Boxplot by Bokeh #17

Open richardshiii opened 5 years ago

richardshiii commented 5 years ago

Hi all, I am currently stuck on the third problem of week 4 assignment. The problem asks us to construct boxplots using bokeh. Resources I found online contain large amount of coding. I tried to go through all of it, but I do not believe it is the most effective solution for this problem. If anyone is experienced with bokeh or finds other resources, please let me know. Thanks a lot!

Link to online resources: https://bokeh.pydata.org/en/latest/docs/gallery/boxplot.html

siuol456 commented 5 years ago

Hi, Thank you for the sharing. I think it is really helpful. On the other hand, when I am reading the problem, I feel confused. Instead of a boxplot, do you think it should be a barplot, since that the question is saying, "plot that shows 'average bill' amount by day of week"?

siuol456 commented 5 years ago

Hi, I found this website that use bokeh as an extension. but you will need this cod to install it conda install -c pyviz holoviews bokeh http://holoviews.org/gallery/demos/bokeh/boxplot_chart.html

Jin-pengSong commented 5 years ago

I also have the same concern that the coding in https://bokeh.pydata.org/en/latest/docs/gallery/boxplot.html is too much. Have you got other resources?

pr24 commented 5 years ago

yes, even I am facing the same issue.there were lot of coding contain if we want to create the box plot using bokeh.

Do we need to install some module for that??? like bkcharts or bokeh,plotting??

siuol456 commented 5 years ago

So I used a package called holoview, and the result is as below image the code was from http://holoviews.org/gallery/demos/bokeh/boxplot_chart.html

Jin-pengSong commented 5 years ago

I also use the similar code for this question. However, while I run my code, it shows this kind of information instead of the picture you showed.

On Sun, Dec 2, 2018 at 8:24 PM siuol456 notifications@github.com wrote:

So I used a package called holoview, and the result is as below [image: image] https://user-images.githubusercontent.com/44628556/49353013-2dcd4f00-f670-11e8-9f02-37fdbdf618a6.png the code was from http://holoviews.org/gallery/demos/bokeh/boxplot_chart.html

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/neuniversity/ALY6140/issues/17#issuecomment-443585188, or mute the thread https://github.com/notifications/unsubscribe-auth/AqhJLgIvv38a2FFB2ZbxipGRToLGZxt_ks5u1KeNgaJpZM4Y5K0K .