holoviews.ipython.magics module#
- class holoviews.ipython.magics.CompositorMagic(**kwargs: Any)[source]#
Bases:
Magics
Magic allowing easy definition of compositor operations. Consult %compositor? for more information.
- class holoviews.ipython.magics.OptsCompleter[source]#
Bases:
object
Implements the TAB-completion for the %%opts magic.
- class holoviews.ipython.magics.OptsMagic(**kwargs: Any)[source]#
Bases:
Magics
Magic for easy customising of normalization, plot and style options. Consult %%opts? for more information.
- opts(line='', cell=None)[source]#
The opts line/cell magic with tab-completion.
%%opts [ [path] [normalization] [plotting options] [style options]]+
- pathA dotted type.group.label specification
(e.g. Image.Grayscale.Photo)
- normalizationList of normalization options delimited by braces.
One of | -axiswise | -framewise | +axiswise | +framewise | E.g. { +axiswise +framewise }
- plotting options: List of plotting option keywords delimited by
square brackets. E.g. [show_title=False]
- style options: List of style option keywords delimited by
parentheses. E.g. (lw=10 marker=’+’)
Note that commas between keywords are optional (not recommended) and that keywords must end in ‘=’ without a separating space.
More information may be found in the class docstring of util.parser.OptsSpec.
- class holoviews.ipython.magics.TimerMagic(**kwargs: Any)[source]#
Bases:
Magics
A line magic for measuring the execution time of multiple cells.
After you start/reset the timer with ‘%timer start’ you may view elapsed time with any subsequent calls to %timer.
- timer(line='')[source]#
Timer magic to print initial date/time information and subsequent elapsed time intervals.
To start the timer, run:
%timer start
This will print the start date and time.
Subsequent calls to %timer will print the elapsed time relative to the time when %timer start was called. Subsequent calls to %timer start may also be used to reset the timer.