89469e47d86e0931d9b50448e663a250d357de91,yellowbrick/classifier.py,ClassBalance,finalize,#ClassBalance#,437

Before Change


        cmax, cmin = max(self.support.values()), min(self.support.values())
        ceiling = cmax + cmax*0.1
        span = cmax - cmin
        plt.ylim(0, ceiling)

After Change



        // Compute the ceiling for the y limit
        cmax, cmin = max(self.support.values()), min(self.support.values())
        self.ax.set_ylim(0, cmax + cmax* 0.1)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 89469e47d86e0931d9b50448e663a250d357de91
Time: 2016-11-05
Author: benjamin@bengfort.com
File Name: yellowbrick/classifier.py
Class Name: ClassBalance
Method Name: finalize


Project Name: matplotlib/matplotlib
Commit Name: c3ce41fe8db2b9788646abad5d104139721bbdb2
Time: 2018-12-06
Author: quantum.analyst@gmail.com
File Name: examples/showcase/integral.py
Class Name:
Method Name:


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 89469e47d86e0931d9b50448e663a250d357de91
Time: 2016-11-05
Author: benjamin@bengfort.com
File Name: yellowbrick/classifier.py
Class Name: ROCAUC
Method Name: finalize