labels = []
for i, meter in enumerate(meters):
good_sections = meter.good_sections(**kwargs)
ax = good_sections.plot(ax=ax, y=i)
labels.append(getattr(meter, label_func)())
// Y tick formatting
n = len(meters)
After Change
// Load each appliance
for appliance_md in appliances:
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"]]