Hi Jeff, Adding support for Bokeh in Zeppelin is great! At https://www.zepl.com/viewer/notebooks/bm90ZTovL3pqZmZkdS90ZXN0L2VhMGI0ODQ0MzNhYjQxNjZhODg5MjI1ZjAxZWVjMjdiL25vdGUuanNvbg it says:
“If you want to use bokeh in spark interpreter. You need HDP 2.6.0 (Zeppelin 0.7.0) or afterwards” I’m not using HDP but I am using Zeppelin 0.7.0 (zeppelin-0.7.0-bin-all.tgz) in ubuntu 16.04. And when I do this in a notebook bound to the Spark interpreter group: %pyspark from bokeh.io import output_notebook output_notebook(notebook_type='zeppelin') I get this error: Traceback (most recent call last): File "/tmp/zeppelin_pyspark-8411751233295366188.py", line 346, in <module> raise Exception(traceback.format_exc()) Exception: Traceback (most recent call last): File "/tmp/zeppelin_pyspark-8411751233295366188.py", line 339, in <module> exec(code) File "<stdin>", line 2, in <module> File "/home/lucas/.local/lib/python2.7/site-packages/bokeh/util/api.py", line 190, in wrapper return obj(*args, **kw) File "/home/lucas/.local/lib/python2.7/site-packages/bokeh/io/output.py", line 114, in output_notebook run_notebook_hook(notebook_type, 'load', resources, verbose, hide_banner, load_timeout) File "/home/lucas/.local/lib/python2.7/site-packages/bokeh/util/api.py", line 190, in wrapper return obj(*args, **kw) File "/home/lucas/.local/lib/python2.7/site-packages/bokeh/io/notebook.py", line 286, in run_notebook_hook raise RuntimeError("no display hook installed for notebook type %r" % notebook_type) RuntimeError: no display hook installed for notebook type 'zeppelin' Can you confirm Bokeh does work with the %pyspark interpreter in Zeppelin 0.7.0? Or should I move to a later version of Zeppelin? I’d rather stick with 0.7.0 for now if possible. Thanks, Lucas. From: Jeff Zhang [mailto:zjf...@gmail.com] Sent: 02 July 2017 00:01 To: users <users@zeppelin.apache.org> Subject: EXT: Use Bokeh in Apache Zeppelin I write a tutorial on using bokeh in apache zeppelin. If you are interested in data visualization in zeppelin notebook, bokeh would be a very good library for you. And you can take a look at the tutorial here. https://community.hortonworks.com/articles/109837/use-bokeh-in-apache-zeppelin.html