pykoi.interactives package#

Submodules#

pykoi.interactives.barchart module#

Module for the compiled Svelte Barchart interactive.

class pykoi.interactives.barchart.Barchart[source]#

Bases: object

add_params(params: Dict[str, Any]) None[source]#

Add parameters to the component.

Parameters:

params (dict) – The parameters to add to the component.

randomize_hash_id() str[source]#

Generate a random hash for div id for a component.

Parameters:

name (str) – The name of the component. E.g. ‘BarChart’.

Returns:

The generated hash ID.

Return type:

str

Module contents#