0ac7cecce4f147011037fcb79dfd57867b8329a8,nilmtk/metergroup.py,MeterGroup,plot_good_sections,#MeterGroup#Any#Any#Any#,1393

Before Change


        include_disabled_meters : bool
        
        if ax is None:
            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):
            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"]]

            if appliance.n_meters == 1:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: nilmtk/nilmtk
Commit Name: 0ac7cecce4f147011037fcb79dfd57867b8329a8
Time: 2014-12-19
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name: MeterGroup
Method Name: plot_good_sections


Project Name: markovmodel/PyEMMA
Commit Name: e7f52669dc6b93c48044928122224501f466837c
Time: 2016-08-23
Author: christoph.wehmeyer@fu-berlin.de
File Name: pyemma/plots/networks.py
Class Name: NetworkPlot
Method Name: plot_network


Project Name: BaselAbujamous/clust
Commit Name: 203adb3fe11998c0e1febe3e46d9ee20d72d2a16
Time: 2018-08-29
Author: basel.abujamous@plants.ox.ac.uk
File Name: clust/scripts/graphics.py
Class Name:
Method Name: plotclusters