add_bokeh_attr#

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

Add trait-widget mapping attributes to an Acoular class.

Parameters:
clsclass

Class to which the functionalities should be added.

trait_widget_mapperdict

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

trait_widget_argsdict

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

Returns:
None.