a408b63b2f2b82f498f13d3ba987722ba154e64a,nilmtk/stats/goodsectionsresults.py,GoodSectionsResults,plot,#GoodSectionsResults#,98
Before Change
return {"statistics": {"good_sections": good_sections_list_of_dicts}}
def plot(self, ax=None):
if ax is None:
ax = plt.gca()
ax.xaxis.axis_date()
for timeframe in self.combined():
length = ((timeframe.end - timeframe.start).total_seconds() /
SECS_PER_DAY)
After Change
def plot(self, **kwargs):
timeframes = TimeFrameGroup(self.combined())
return timeframes.plot(**kwargs)
def import_from_cache(self, cached_stat, sections):
// we (deliberately) use duplicate indices to cache GoodSectionResults
grouped_by_index = cached_stat.groupby(level=0)
In pattern: SUPERPATTERN
Frequency: 5
Non-data size: 3
Instances
Project Name: nilmtk/nilmtk
Commit Name: a408b63b2f2b82f498f13d3ba987722ba154e64a
Time: 2014-12-19
Author: jack-list@xlk.org.uk
File Name: nilmtk/stats/goodsectionsresults.py
Class Name: GoodSectionsResults
Method Name: plot
Project Name: google/unrestricted-adversarial-examples
Commit Name: 7a8be4139a3d1f3968081728375c4621285ec3fe
Time: 2018-08-25
Author: nottombrown@gmail.com
File Name: unrestricted_advex/eval_kit/eval_with_attacks.py
Class Name:
Method Name: plot_confident_error_rate
Project Name: suavecode/SUAVE
Commit Name: b402c83347127b3b7500251f038799d804c7d80f
Time: 2020-03-05
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Plots/Mission_Plots.py
Class Name:
Method Name: plot_drag_components
Project Name: neurodsp-tools/neurodsp
Commit Name: 5196910e726c04648f5cffae5f50ecd3171539ce
Time: 2019-03-17
Author: tdonoghue@ucsd.edu
File Name: neurodsp/plts/filt.py
Class Name:
Method Name: plot_frequency_response
Project Name: david-abel/simple_rl
Commit Name: 4afb5a4f58ba63c5ba4e15fb4b9d07beacb1c718
Time: 2019-04-11
Author: yrevar@github.com
File Name: simple_rl/tasks/navigation/NavigationWorldMDP.py
Class Name: NavigationWorldMDP
Method Name: visualize_grid