Skip to content

netdataloggerviscomponent

netdataloggerviscomponent

Module for the net data logger visualization component

Classes

NetDataLoggerVisComponent

NetDataLoggerVisComponent(
    meta_function=None,
    target_value_list=None,
    assert_on_error=False,
)

Bases: SingleExpVisComponent, ABC

Abstract class of a net data logger visualization component

Source code in niceml/dashboard/components/expviscomponent.py
def __init__(
    self,
    meta_function: Optional[MetaFunction] = None,
    target_value_list: Optional[List[Any]] = None,
    assert_on_error: bool = False,
):
    # Create empty list for chart images
    self.chart_images_list: List[Image.Image] = []
    self.meta_function = meta_function
    self.target_value_list = [] if target_value_list is None else target_value_list
    self.assert_on_error = assert_on_error