57c4306d9282b8d3fc815336c86c7af64f75a756,GPy/plotting/gpy_plot/gp_plots.py,,_plot_confidence,#,150

Before Change


    update_not_existing_kwargs(kwargs, pl.defaults.confidence_interval)
    _, percs = helper_predict_with_model(self, Xgrid, plot_raw, apply_link, (lower, upper), which_data_ycols, **predict_kw)

    return dict(gpconfidence=pl.fill_between(canvas, Xgrid, percs[0], percs[1], **kwargs))

    
    

After Change


                                                 (lower, upper), 
                                                 ycols, predict_kw)
    
            fills = []
            for d in ycols:
                fills.append(pl.fill_between(canvas, Xgrid[:,free_dims[0]], percs[0][:,d], percs[1][:,d], **kwargs))
            return dict(gpconfidence=fills)
        else:
            pass //Nothing to plot!
    else:
        raise RuntimeError("Can only plot confidence interval in one input dimension")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: SheffieldML/GPy
Commit Name: 57c4306d9282b8d3fc815336c86c7af64f75a756
Time: 2015-10-03
Author: ibinbei@gmail.com
File Name: GPy/plotting/gpy_plot/gp_plots.py
Class Name:
Method Name: _plot_confidence


Project Name: jazzband/django-debug-toolbar
Commit Name: 12fdf7ea605d3716d6c9127e22a63bcc345d55be
Time: 2012-04-06
Author: jannis@leidel.info
File Name: debug_toolbar/panels/cache.py
Class Name: CacheDebugPanel
Method Name: title


Project Name: SheffieldML/GPy
Commit Name: e35999b24ba3e070dc245f775c82d5adddebc116
Time: 2015-04-07
Author: ibinbei@gmail.com
File Name: GPy/plotting/matplot_dep/variational_plots.py
Class Name:
Method Name: plot