Work Status¶
-
olympus.dashboard.plots.work_status.aggregate_overview_altair(status, agents)[source]¶ Parameters: - status: List[dict(experiment=str, status=str, count=int)]]
List of the count of each message status for different experiment
- agents: List[dict(experiment=str, agents=str, count=int)]
Examples
status = [ dict(experiment='classification', status='pending', count=10), dict(experiment='classification', status='in-progress', count=11), dict(experiment='classification', status='finished', count=12) ] agents = [ dict(experiment='classification', agents='agents', count=10) ] chart = aggregate_overview_altair(status, agents)
-
olympus.dashboard.plots.work_status.work_status(status)[source]¶ Return a pie chart for a given dictionary
Parameters: - status: Dict[Key, int]
A simple dictionary with integer or floats as value and string as keys
Examples
status = { 'pending': 10, 'in-progress': 20, 'finished': 40, 'lost': 0, 'failed': 0 } fig = work_status(status)