2b85cdd343ec7657c667e499395720797682be85,ggplot/geoms/stat_smooth.py,stat_smooth,plot_layer,#stat_smooth#Any#,9
Before Change
if "y" in layer:
y = layer.pop("y")
// TODO: should probably change this to LOESS
if layer.get("method") =="lm":
pass
elif layer.get("method")=="":
pass
After Change
y1 = y - std_err
y2 = y + std_err
plt.plot(x.tolist(), y, **layer)
if se:
plt.fill_between(x.tolist(), y1.tolist(), y2.tolist(),
alpha=0.5, color="grey")
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: has2k1/plotnine
Commit Name: 2b85cdd343ec7657c667e499395720797682be85
Time: 2013-10-08
Author: lamp.greg@gmail.com
File Name: ggplot/geoms/stat_smooth.py
Class Name: stat_smooth
Method Name: plot_layer
Project Name: EducationalTestingService/skll
Commit Name: ca10c185d94470054d693f19e7691523dbe3ec55
Time: 2019-03-05
Author: jbiggs@ets.org
File Name: skll/data/readers.py
Class Name: NDJReader
Method Name: _sub_read
Project Name: tensorflow/models
Commit Name: 90d1a0bbbca309628e9e8ddc285ca1bf33913eff
Time: 2020-11-06
Author: rathodv@google.com
File Name: research/object_detection/metrics/coco_evaluation.py
Class Name: CocoDetectionEvaluator
Method Name: add_single_ground_truth_image_info