c3f25168fe8c73b82af8f57ae536f4a9708c863e,sklearn/metrics/_plot/roc_curve.py,RocCurveDisplay,plot,#RocCurveDisplay#Any#,64

Before Change


        line_kwargs.update(**kwargs)

        self.line_ = ax.plot(self.fpr, self.tpr, **line_kwargs)[0]
        ax.set_xlabel("False Positive Rate")
        ax.set_ylabel("True Positive Rate")

        if "label" in line_kwargs:
            ax.legend(loc="lower right")

After Change


        if ax is None:
            fig, ax = plt.subplots()

        self.line_, = ax.plot(self.fpr, self.tpr, **line_kwargs)
        info_pos_label = (f" (Positive label: {self.pos_label})"
                          if self.pos_label is not None else "")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 2

Instances


Project Name: scikit-learn/scikit-learn
Commit Name: c3f25168fe8c73b82af8f57ae536f4a9708c863e
Time: 2020-07-06
Author: anaclaramatos@hotmail.com
File Name: sklearn/metrics/_plot/roc_curve.py
Class Name: RocCurveDisplay
Method Name: plot


Project Name: hpclab/rankeval
Commit Name: b104ef8ea5f6e98b0b05a5cf068bba0c8689d445
Time: 2017-07-27
Author: cristina.i.muntean@gmail.com
File Name: rankeval/visualization/effectiveness.py
Class Name:
Method Name: plot_tree_wise_average_contribution


Project Name: matplotlib/matplotlib
Commit Name: fdb5900995c0de782b324d62bdc2b6ce00a67e34
Time: 2018-01-24
Author: vincent.adrien@gmail.com
File Name: examples/api/two_scales.py
Class Name:
Method Name: two_scales


Project Name: arviz-devs/arviz
Commit Name: 8a99fe2f7460e6ddbc6840f3754993c8cc17df88
Time: 2018-05-21
Author: aloctavodia@gmail.com
File Name: arviz/plots/autocorrplot.py
Class Name:
Method Name: autocorrplot