ea95f8d2feed3b83274f911a025f04105f7408bd,weather/evebump.py,,plot_curves_by_date,#,108

Before Change


        ax.tick_params(which="minor", length=3, color="r")

        ax.legend(loc="upper right")
        if (vals < 0).any():
            ax.axhline(color="k", linewidth=.5)

        if bumpdates:

After Change



        // Are there any negative temperatures in vals?
        // If so, highlight the temp=0 axis so it"s easier to see.
        for v in vals:
            if v < 0:
                ax.axhline(color="k", linewidth=.5)
                break

        if bumpdates:
            for bumpdate in bumpdates:
                ax.axvline(x=bumpdate, color="r", linewidth=1)
                //           label=str(bumpdate.time()))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: akkana/scripts
Commit Name: ea95f8d2feed3b83274f911a025f04105f7408bd
Time: 2019-05-02
Author: akkana@shallowsky.com
File Name: weather/evebump.py
Class Name:
Method Name: plot_curves_by_date


Project Name: EpistasisLab/scikit-rebate
Commit Name: ece383696800b9b34854df27a65a3d1d74669952
Time: 2020-05-28
Author: alexmxu@alexs-mbp-3.attlocal.net
File Name: skrebate/iterrelief.py
Class Name: IterRelief
Method Name: fit


Project Name: EpistasisLab/scikit-rebate
Commit Name: 163eb7df13667e21b0e02a2706e18d1f53eee610
Time: 2020-01-29
Author: alexmxu99@gmail.com
File Name: skrebate/iterrelief.py
Class Name: IterRelief
Method Name: fit