d695f661f194ba222386ac4848ac259814de3e49,ggplot/geoms/geom_abline.py,geom_abline,_plot_unit,#geom_abline#Any#Any#,16

Before Change


        if np.sum(in_range) > 0:
            x_points = x_points[in_range]
            y_points = y_points[in_range]
            ax.plot(x_points,y_points,**pinfo)

After Change


        ax.set_autoscale_on(False)
        xlim = ax.get_xlim()

        _x = np.array([np.min(xlim), np.max(xlim)])
        for i in range(len(slope)):
            _y = _x * slope[i] + intercept[i]
            ax.plot(_x, _y,
                    linewidth=linewidth[i],
                    linestyle=linestyle[i],
                    alpha=alpha[i],
                    color=color[i])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: has2k1/plotnine
Commit Name: d695f661f194ba222386ac4848ac259814de3e49
Time: 2014-04-29
Author: has2k1@gmail.com
File Name: ggplot/geoms/geom_abline.py
Class Name: geom_abline
Method Name: _plot_unit


Project Name: suavecode/SUAVE
Commit Name: 760f0e70116b9526b2fd8531fd9642cb70fb470f
Time: 2019-03-19
Author: mclarke2@stanford.edu
File Name: trunk/SUAVE/Plots/Mission_Plots.py
Class Name:
Method Name: plot_flight_conditions


Project Name: rodluger/starry
Commit Name: 52c5951d49ea6fa439ab437469b621baeeca3a10
Time: 2018-10-07
Author: rodluger@gmail.com
File Name: test_ppo_gradients.py
Class Name:
Method Name: