hvplot.output#
- class hvplot.output(*args, **params)[source]#
Helper used to set HoloViews display options. Arguments are supplied as a series of keywords in any order:
backend : The backend used by HoloViews fig : The static figure format holomap : The display type for holomaps widgets : The widget mode for widgets fps : The frames per second used for animations max_frames : The max number of frames rendered (default 500) size : The percentage size of displayed output dpi : The rendered dpi of the figure filename : The filename of the saved output, if any (default None) info : The information to page about the displayed objects (default False) css : Optional css style attributes to apply to the figure image tag widget_location : The position of the widgets relative to the plot
Methods
__call__(*args, **options)Call self as a function.
info
Parameter Definitions
- __init__(*, fig, holomap, widgets, fps, max_frames, size, dpi, filename, info, css, widget_location)[source]#
Initialize a
Parameterizedinstance with optional Parameter values.Optional Parameter values must be supplied as keyword arguments (
param_name=value), overriding their default values for this one instance. Any parameters not explicitly set will retain their defined default values.If no
nameparameter is provided, the instance’snameattribute will default to an identifier string composed of the class name followed by an incremental 5-digit number.- Parameters:
- **params
Optional keyword arguments mapping
Parameternames to values.
- Raises:
- TypeError
If one of the keywords of
paramsis not aParametername.
Examples
>>> import param >>> class MyClass(param.Parameterized): ... value = param.Number(default=10, bounds=(0, 20)) >>> obj = MyClass(value=15)
The
valueparameter is set to 15 for this instance, overriding the default.
Methods
__init__(*, fig, holomap, widgets, fps, ...)Initialize a
Parameterizedinstance with optional Parameter values.info()instance(**params)Create and return an instance of this class.
Attributes
nameparam