toloka.metrics.jupyter_dashboard.Chart | Source code
Chart(self,name: Optional[str],metrics: List[BaseMetric],loop=None)
One chart on the dashboard. Could include several metrics.
If you want to draw really cool chart that displays several metrics in the same coordinates.
The header for this chart. Could be None, Chart create name from the first metric.
List of metrics, that will be displayed on this chart (in the same coordinates).
How to display all submitted and accepted answers from some pool and its checking pool, in one chart.
Chart('Answers count',[metrics.AssignmentsInPool('123', submitted_name='submitted in 123', accepted_name='accepted in 123', toloka_client=client1),metrics.AssignmentsInPool('456', submitted_name='submitted in 456', accepted_name='accepted in 456', toloka_client=client2),])
|create_figure||Create figure for this chart. Called at each step.|
|update_metrics||Gathers all metrics, and stores them in lines.|