ax = plt.gca()
// Prepare list of meters
meters = copy(self.meters)
if include_disabled_meters:
meters += self.disabled_meters
meters.sort(key=meter_sorting_key, reverse=True)
labels = []
for i, meter in enumerate(meters):
After Change
appliance_md["dataset"] = building_id.dataset
appliance_md["building"] = building_id.instance
appliance = Appliance(appliance_md)
meter_ids = [ElecMeterID(instance=meter_instance,
building=building_id.instance,
dataset=building_id.dataset)
for meter_instance in appliance.metadata["meters"]]