0d65a28dfb42b229e71f63e606e78b36bf2e42d3,nilmtk/metergroup.py,MeterGroup,plot_multiple,#MeterGroup#,1483

Before Change


        -------
        fig, axes
        
        raise NotImplementedError()

    def sort_meters(self):
        Sorts meters by instance.
        self.meters.sort(key=meter_sorting_key)

After Change


            raise ValueError("`axes` and `meters` must be of equal length.")

        if kwargs_per_meter is None:
            kwargs_per_meter = {}

        meters = [self[meter_key] for meter_key in meter_keys]
        for i, (ax, meter) in enumerate(zip(axes, meters)):
            kwargs_copy = deepcopy(kwargs)
            for parameter, arguments in kwargs_per_meter.iteritems():
                kwargs_copy[parameter] = arguments[i]
            getattr(meter, plot_func)(ax=ax, **kwargs_copy)
            ax.set_title(meter.dominant_appliance().label())

        return axes
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


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


Project Name: daavoo/pyntcloud
Commit Name: 81fdc82531a05b5ae7d7e124010b3198b77dbb28
Time: 2018-07-09
Author: daviddelaiglesiacastro@gmail.com
File Name: pyntcloud/core_class.py
Class Name: PyntCloud
Method Name: plot


Project Name: SPFlow/SPFlow
Commit Name: a94dbd2936fdc64e921333c04e0d66d491efc706
Time: 2018-11-19
Author: claas@voelcker.net
File Name: src/spn/algorithms/stats/Moments.py
Class Name:
Method Name: Moment