holoviews.ipython package#
Submodules#
- holoviews.ipython.archive module
- holoviews.ipython.display_hooks module
- holoviews.ipython.magics module
- holoviews.ipython.preprocessors module
- holoviews.ipython.widgets module
Module contents#
- class holoviews.ipython.IPTestCase(*args, **kwargs)[source]#
Bases:
ComparisonTestCase
This class extends ComparisonTestCase to handle IPython specific objects and support the execution of cells and magic.
- class holoviews.ipython.notebook_extension(*, allow_jedi_completion, case_sensitive_completion, css, display_formats, enable_mathjax, inline, logo, width, name)[source]#
Bases:
extension
Notebook specific extension to hv.extension that offers options for controlling the notebook environment.
Parameter Definitions
css = String(default='', label='Css')
Optional CSS rule set to apply to the notebook.
logo = Boolean(default=True, label='Logo')
Toggles display of HoloViews logo
inline = Boolean(default=False, label='Inline')
Whether to inline JS and CSS resources. If disabled, resources are loaded from CDN if one is available.
width = Number(allow_None=True, bounds=(0, 100), inclusive_bounds=(True, True), label='Width')
Width of the notebook as a percentage of the browser screen window width.
display_formats = List(bounds=(0, None), default=['html'], label='Display formats')
A list of formats that are rendered to the notebook where multiple formats may be selected at once (although only one format will be displayed). Although the ‘html’ format is supported across backends, other formats supported by the current backend (e.g. ‘png’ and ‘svg’ using the matplotlib backend) may be used. This may be useful to export figures to other formats such as PDF with nbconvert.
allow_jedi_completion = Boolean(default=True, label='Allow jedi completion')
Whether to allow jedi tab-completion to be enabled in IPython.
case_sensitive_completion = Boolean(default=False, label='Case sensitive completion')
Whether to monkey patch IPython to use the correct tab-completion behavior.
enable_mathjax = Boolean(default=False, label='Enable mathjax')
Whether to load bokeh-mathjax bundle in the notebook.