d203b57eeb5418c3de90dccc99e0f1a589241ab5,plotnine/qplot.py,,qplot,#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,23

Before Change


            elif not hasattr(aesthetics["x"], "dtype"):
                x = np.asarray(aesthetics["x"])

            if x.dtype.kind in DISCRETE_KINDS:
                replace_auto(geom, "bar")
            else:
                replace_auto(geom, "histogram")

After Change


            elif not hasattr(aesthetics["x"], "dtype"):
                x = np.asarray(aesthetics["x"])

            if array_kind.discrete(x):
                replace_auto(geom, "bar")
            else:
                replace_auto(geom, "histogram")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: has2k1/plotnine
Commit Name: d203b57eeb5418c3de90dccc99e0f1a589241ab5
Time: 2017-09-16
Author: has2k1@gmail.com
File Name: plotnine/qplot.py
Class Name:
Method Name: qplot


Project Name: has2k1/plotnine
Commit Name: d203b57eeb5418c3de90dccc99e0f1a589241ab5
Time: 2017-09-16
Author: has2k1@gmail.com
File Name: plotnine/scales/scale_xy.py
Class Name: scale_position_discrete
Method Name: map


Project Name: has2k1/plotnine
Commit Name: d203b57eeb5418c3de90dccc99e0f1a589241ab5
Time: 2017-09-16
Author: has2k1@gmail.com
File Name: plotnine/scales/scales.py
Class Name:
Method Name: scale_type


Project Name: has2k1/plotnine
Commit Name: d203b57eeb5418c3de90dccc99e0f1a589241ab5
Time: 2017-09-16
Author: has2k1@gmail.com
File Name: plotnine/layer.py
Class Name:
Method Name: discrete_columns