holoviews.ipython.display_hooks module#
Definition and registration of display hooks for the IPython Notebook.
- holoviews.ipython.display_hooks.display(obj, raw_output=False, **kwargs)[source]#
Renders any HoloViews object to HTML and displays it using the IPython display function. If raw is enabled the raw HTML is returned instead of displaying it directly.
- holoviews.ipython.display_hooks.display_hook(fn)[source]#
A decorator to wrap display hooks that return a MIME bundle or None. Additionally it handles adding output to the notebook archive, saves files specified with the output magic and handles tracebacks.
- holoviews.ipython.display_hooks.first_frame(obj)[source]#
Only display the first frame of an animated plot
- holoviews.ipython.display_hooks.image_display(element, max_frames, fmt)[source]#
Used to render elements to an image format (svg or png) if requested in the display formats.
- holoviews.ipython.display_hooks.last_frame(obj)[source]#
Only display the last frame of an animated plot
- holoviews.ipython.display_hooks.middle_frame(obj)[source]#
Only display the (approximately) middle frame of an animated plot
- holoviews.ipython.display_hooks.png_display(element, max_frames)[source]#
Used to render elements to PNG if requested in the display formats.
- holoviews.ipython.display_hooks.process_object(obj)[source]#
Hook to process the object currently being displayed.