SpectAcoular documentation

spectacoular.bokehview.add_bokeh_attr

«  bokehview   ::   bokehview   ::   factory  »

spectacoular.bokehview.add_bokeh_attr

spectacoular.bokehview.add_bokeh_attr(cls, trait_widget_mapper, trait_widget_args)

helper function to add trait-widget mapping functions and dictionaries defining the mapping to Acoular classes

Parameters:
clsclass

Class to which the functionalities should be added.

trait_widget_mapperdict

Dictionary containing the name of the trait attributes and the corresponding Bokeh widgets.

trait_widget_argsdict

Additional widget arguments that should be included when widget is created.

Returns:
None.

«  bokehview   ::   bokehview   ::   factory  »