bokeh.io.notebook._HOOKS

Here are the examples of the python api bokeh.io.notebook._HOOKS taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 View Source File : test___init__.py
License : MIT License
Project Creator : rthorst

def test_jupyter_notebook_hook_installed():
    assert list(binb._HOOKS) == ["jupyter"]
    assert binb._HOOKS["jupyter"]['load'] == binb.load_notebook
    assert binb._HOOKS["jupyter"]['doc']  == binb.show_doc
    assert binb._HOOKS["jupyter"]['app']  == binb.show_app

#-----------------------------------------------------------------------------
# Dev API
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# Private API
#-----------------------------------------------------------------------------

#-----------------------------------------------------------------------------
# Code
#-----------------------------------------------------------------------------