d5989fd2407660844d444f33a2865bb84c9242ab,nala/utils/writers.py,StatsWriter,makegraph,#StatsWriter#,49

Before Change


        plt.ylabel("NL vs Total mention ratio")

        // subplot for abstract vs full ratio
        plt.subplot(222)
        plt.bar(x_pos, abstract_full_ratio_array)
        plt.xticks(x_pos, label, rotation=90)
        plt.ylabel("Abstract vs Full document ratio")

After Change


        plt.xticks(x_pos, label, rotation=90)
        plt.ylabel("Abstract vs Full document ratio")
        plt.xlim(min(x_pos) * 0.95, max(x_pos) * 1.05)
        plt.ylim(min([x for x in abstract_full_ratio_array if x > 0]) * 0.95, max(abstract_full_ratio_array) * 1.05)

        // OPTIONAL combined plot
        // OPTIONAL legend included (must be some different graph (scatter, line, ...) system)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: Rostlab/nalaf
Commit Name: d5989fd2407660844d444f33a2865bb84c9242ab
Time: 2015-06-17
Author: carsten.uhlig@gmail.com
File Name: nala/utils/writers.py
Class Name: StatsWriter
Method Name: makegraph


Project Name: scikit-optimize/scikit-optimize
Commit Name: b8f10b387de929bcb250e4750064355e50b44317
Time: 2016-04-18
Author: manojkumarsivaraj334@gmail.com
File Name: examples/plot_gp_minimize_1d.py
Class Name:
Method Name:


Project Name: CellProfiler/CellProfiler
Commit Name: 57a14faee7b0198e056e474c04ea346d148a2835
Time: 2013-03-18
Author: leek@broadinstitute.org
File Name: cellprofiler/modules/identifyprimaryobjects.py
Class Name: IdentifyPrimaryObjects
Method Name: display