Show() does not return anything


#1

I have tried reproducing your tutorial, but the show() function does not return anything.
I run it on spark 2.2.0 in jupyter-notebook.
KR


#2

Are you sure you’ve imported the plotting libraries at the top? (bokeh, etc?)

Can you share a full code example including imports that does not work for you?


#3

Here are all my imports:
23
I follow the tutorial:
https://hail.is/docs/0.2/tutorials/01-genome-wide-association-study.html
None of the calls with show() works, and the same is the case for my own data analysis.
KR


#4

Can you include the code you’re running to make the plot as well? I want to try to reproduce your issue from a minimal example.


#5

Also, does the bokeh icon show?

“BokehJS 0.12.13 successfully loaded.”


#6

BokehJS was stuck loading, didn’t realise the problem, it wasn’t very apparant.
Apparantly it is a BokehJS problem, which can occur in some browsers when using jupyter-notebook.
A solution is given here https://github.com/bokeh/bokeh/issues/5351