# Hl.plot.output\_notebook()

**URL:** <https://discuss.hail.is/t/hl-plot-output-notebook/1209>\
**Category:** Hail Query & hailctl\
**Created:** [December 10, 2019, 5:42am UTC](https://discuss.hail.is/t/hl-plot-output-notebook/1209 "2019-12-10T05:42:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cliveno1](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/cliveno1/32/1115_2.png) [@cliveno1](https://discuss.hail.is/u/cliveno1)\
**Post date:** [December 10, 2019, 5:42am UTC](https://discuss.hail.is/t/hl-plot-output-notebook/1209/1 "2019-12-10T05:42:13Z")

</div>

This maybe an OS issue - I’m working with Ubuntu on Windows. Everything is fine - e.g. the gwas analysis runs. However, I need to bypass the code line:

`hl.plot.output_notebook()`

Otherwise I get issues: First, the prompt changes to “In :” and from here when I enter:

`hl.utils.get_1kg('data/')`

I get the error: **NameError: name ‘hl’ is not defined**

If I run without `hl.plot.output_notebook()` everything is fine but the plots don’t show (however, the analyses run without any error). Moreover, trying to save the plots with bokeh seems to have the same dependency problems.

I assume this is an IPython issue: I ran pip install IPython but didn’t solve.

---

<div class="post-metadata">

**Author:** ![tpoterba](https://yyz2.discourse-cdn.com/flex036/user_avatar/discuss.hail.is/tpoterba/32/61_2.png) [@tpoterba](https://discuss.hail.is/u/tpoterba)\
**Post date:** [December 10, 2019, 10:44am UTC](https://discuss.hail.is/t/hl-plot-output-notebook/1209/2 "2019-12-10T10:44:58Z")

</div>

You’re running in IPython, not Jupyter, right?

In that case, just remove all the plotting stuff. I have no idea what hl.plot.output\_notebook (which is an alias for `bokeh.io.output_notebook` does when javascript is not available!
