37f4d560ee6420c1b1610476d801e747a44b5b36,yellowbrick/classifier.py,ClassificationReport,finalize,#ClassificationReport#,166

Before Change


        // Set the tick marks appropriately
        // TODO: make sure this goes through self.ax not plt
        plt.xticks(x_tick_marks, ["precision", "recall", "f1-score"], rotation=45)
        plt.yticks(y_tick_marks, self.classes_)

        // Set the labels for the two axes
        self.ax.set_ylabel("Classes")
        self.ax.set_xlabel("Measures")

After Change


        y_tick_marks = np.arange(len(self.classes_))

        // Set the tick marks appropriately
        self.ax.set_xticks(x_tick_marks)
        self.ax.set_yticks(y_tick_marks)

        self.ax.set_xticklabels(["precision", "recall", "f1-score"], rotation=45)
        self.ax.set_yticklabels(self.classes_)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: DistrictDataLabs/yellowbrick
Commit Name: 37f4d560ee6420c1b1610476d801e747a44b5b36
Time: 2017-03-08
Author: rebecca.bilbro@bytecubed.com
File Name: yellowbrick/classifier.py
Class Name: ClassificationReport
Method Name: finalize


Project Name: Pinafore/qb
Commit Name: a37910cf0c8fbd1f863c058912571902198cad44
Time: 2017-05-23
Author: ski.rodriguez@gmail.com
File Name: qanta/reporting/plotting.py
Class Name:
Method Name: plot_confusion


Project Name: theislab/scanpy
Commit Name: 8c00b4b5ee453e31a8bc70f36d50607cccb0902f
Time: 2017-07-31
Author: f.alex.wolf@gmx.de
File Name: scanpy/plotting/tools.py
Class Name:
Method Name: aga_path