'Update stats views.'

def update_views(self):

    super(Plugin, self).update_views()
    for i in self.stats:
        disk_real_name = i['disk_name']
        self.views[i[self.get_key()]]['read_bytes']['decoration'] = self.get_alert(int((i['read_bytes'] // i['time_since_update'])), header=(disk_real_name + '_rx'))
        self.views[i[self.get_key()]]['write_bytes']['decoration'] = self.get_alert(int((i['write_bytes'] // i['time_since_update'])), header=(disk_real_name + '_tx'))
