0cac8edf1e95e921043e7a540b70070760694801,arviz/plots/backends/matplotlib/kdeplot.py,,plot_kde,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,10

Before Change


    figsize, *_, xt_labelsize, linewidth, markersize = _scale_fig_size(figsize, textsize, 1, 1)

    if values2 is None:
        if plot_kwargs is None:
            plot_kwargs = {}
        plot_kwargs.setdefault("color", "C0")

        default_color = plot_kwargs.get("color")

        if fill_kwargs is None:
            fill_kwargs = {}

        fill_kwargs.setdefault("color", default_color)

        if rug_kwargs is None:
            rug_kwargs = {}
        rug_kwargs.setdefault("marker", "_" if rotated else "|")
        rug_kwargs.setdefault("linestyle", "None")
        rug_kwargs.setdefault("color", default_color)
        rug_kwargs.setdefault("space", 0.2)

After Change


    else:
        contour_kwargs = matplotlib_kwarg_dealiaser(contour_kwargs, "contour")
        contour_kwargs.setdefault("colors", "0.5")
        contourf_kwargs = matplotlib_kwarg_dealiaser(contourf_kwargs, "contour")
        pcolormesh_kwargs = matplotlib_kwarg_dealiaser(pcolormesh_kwargs, "pcolormesh")

        // gridsize = (128, 128) if contour else (256, 256)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 7

Non-data size: 10

Instances


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/backends/matplotlib/kdeplot.py
Class Name:
Method Name: plot_kde


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/backends/matplotlib/kdeplot.py
Class Name:
Method Name: plot_kde


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/essplot.py
Class Name:
Method Name: plot_ess


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/loopitplot.py
Class Name:
Method Name: plot_loo_pit


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/energyplot.py
Class Name:
Method Name: plot_energy


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/mcseplot.py
Class Name:
Method Name: plot_mcse


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/hpdplot.py
Class Name:
Method Name: plot_hpd


Project Name: arviz-devs/arviz
Commit Name: 0cac8edf1e95e921043e7a540b70070760694801
Time: 2020-03-02
Author: gautampiyus@gmail.com
File Name: arviz/plots/violinplot.py
Class Name:
Method Name: plot_violin