'Store data gathered by the panel. ``stats`` is a :class:`dict`.
Each call to ``record_stats`` updates the statistics dictionary.'

def record_stats(self, stats):

    self.toolbar.stats.setdefault(self.panel_id, {}).update(stats)
