-
Notifications
You must be signed in to change notification settings - Fork 7
HoloViews: Dynamic Elements
-
DynamicMap
accepts a single ``DynamicElement`. The latter takes a callable to generate an Element. Consider link to PatternGenerator. -
DynamicMap
generate an Element when the__getitem__
is called with a specific key. -
DynamicMap
becomes a holomap when__getitem__
is passed a list of keys or dimension sets (as already supported). -
DynamicMap
probably has state keeping track of the history of ranges and a 'current key' to step relative to. It probably also supports a cache of some length. The history of ranges interacts appropriately with the plotting normalization. -
DynamicMap
has an initialize method that sets the 'initial conditions' for the dynamic element but also resets the caches, ranges etc. -
DynamicMap
can only support slider widgets and scrubber with semantics for the buttons when the 'Run' mode (next to loop, once, reflect etc) is selected.
- This is an open interval + step. This involves the intialization tuple (1.23,10e10, 1) and a tuple delta a multi-dimensional step e.g. (1.5, 1e9, 2) OR more generally a function from current-tuple to new tuple.
- Here you define the intervals (or sets of values) and for the continuous dimensions you
can select anywhere in the defined interval. Essentially, all key_dimensions need
values
orrange
to be well defined (e.g. no None in range).