fragile.dataviz.plot_root
Contents
fragile.dataviz.plot_root#
Module Contents#
Classes#
The |
|
The |
- class fragile.dataviz.plot_root.PlotRootWalker(image_shape=None, step_after_set_state=False, **kwargs)#
Bases:
fragile.dataviz.stream_plots.PlotCallbackThe
Walkersis a data structure that takes care of all the data involved in making a Swarm evolve.- Parameters
step_after_set_state (bool) –
- name = plot_root#
- property root#
- setup(swarm)#
Prepare the component during the setup phase of the
Swarm.
- send()#
- panel()#
- image_from_state(state)#
- reset(root_walker=None, state=None, **kwargs)#
Reset the internal state of the
SwarmComponent.- Parameters
inplace (bool, optional) – Unused. Defaults to True.
root_walker (Optional[StateData], optional) – Set the internal state of the
SwarmComponentto this value. Defaults to None.states (Optional[StateData], optional) – Set the internal state of the
SwarmComponentto this value. Defaults to None.kwargs – Other parameters required to reset the component.
- class fragile.dataviz.plot_root.PlotMario(**kwargs)#
Bases:
PlotRootWalkerThe
Walkersis a data structure that takes care of all the data involved in making a Swarm evolve.- send()#
- panel()#
- image_from_state(state)#