1edcc86eb40c55259fff85ec4e14b4373a6bb589,nilmtk/metergroup.py,MeterGroup,plot,#MeterGroup#,1132

Before Change


                start = timeframe_for_group.start
            if end is None:
                end = timeframe_for_group.end
        timeframe = TimeFrame(start, end)

        // Calculate the resolution for the x axis
        duration = (end - start).total_seconds()
        secs_per_pixel = int(round(duration / width))

After Change


            if kwargs.pop("plot_legend", True):
                plt.legend()

        elif kind == "summed":
            ax = super(MeterGroup, self).plot(**kwargs)

        return ax
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilmtk/nilmtk
Commit Name: 1edcc86eb40c55259fff85ec4e14b4373a6bb589
Time: 2014-12-09
Author: jack-list@xlk.org.uk
File Name: nilmtk/metergroup.py
Class Name: MeterGroup
Method Name: plot


Project Name: nilmtk/nilmtk
Commit Name: 5536ef3420eb68843d887b064a0e45f15d30078c
Time: 2014-07-25
Author: jack-list@xlk.org.uk
File Name: nilmtk/datastore.py
Class Name: HDFDataStore
Method Name: load


Project Name: nilmtk/nilmtk
Commit Name: bb66ea0993507b10b25d5cca128965bc3c67a966
Time: 2014-12-12
Author: jack-list@xlk.org.uk
File Name: nilmtk/electric.py
Class Name: Electric
Method Name: plot