'Reset the stats history (dict of GlancesAttribute).'

def reset_stats_history(self):

    if self._history_enable():
        reset_list = [a['name'] for a in self.get_items_history_list()]
        logger.debug('Reset    history    for    plugin    {}    (items:    {})'.format(self.plugin_name, reset_list))
        self.stats_history.reset()
