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

Before Change


        ax.set_autoscale_on(False)
        // Get plot limits
        xlim = ax.get_xlim()
        ylim = ax.get_ylim()
        // Determine line function
        line_func = lambda x: x*slope + intercept
        // Get "x" points within limit and map to "y" coordinates
        x_points = np.linspace(min(xlim),max(xlim),100)

After Change


        linewidth = _make_iterable_ntimes(pinfo["linewidth"])
        linestyle = _make_iterable_ntimes(pinfo["linestyle"])
        alpha = _make_iterable_ntimes(pinfo["alpha"])
        color = _make_iterable_ntimes(pinfo["color"])

        ax.set_autoscale_on(False)
        xlim = ax.get_xlim()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

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: arviz-devs/arviz
Commit Name: 74b332aa2fb55c2026b32f19dec7d28cef4356ed
Time: 2020-08-05
Author: tomicapretto@gmail.com
File Name: arviz/plots/backends/matplotlib/posteriorplot.py
Class Name:
Method Name: _plot_posterior_op


Project Name: arviz-devs/arviz
Commit Name: 73f90a2a1c6a893886909a7e8012718efc0b18e9
Time: 2020-11-06
Author: aloctavodia@gmail.com
File Name: arviz/plots/backends/matplotlib/posteriorplot.py
Class Name:
Method Name: _plot_posterior_op