8524810d21a051f88478b430da098b046accd5a4,conceptnet5/vectors/evaluation/compare.py,,graph_comparison,#Any#Any#,42

Before Change


    fig, ax = plt.subplots(figsize=(16, 8))
    for i, (sysname, syspath) in enumerate(systems):
        eval_table = result.xs(syspath, level=0).loc[evals]
        errs = [eval_table["high"] - eval_table["acc"], eval_table["acc"] - eval_table["low"]]
        ax.bar(ind + i * width, eval_table["acc"], width, hatch=patterns[i], color=colors[i], yerr=errs, ecolor="k")

    ax.set_ylim(0.0, 1.0)

After Change


    ax.set_xticks(ind + width * len(systems) / 2)
    ax.set_xticklabels(eval_labels)
    ax.xaxis.grid(False)
    ax.yaxis.grid(True)
    ax.set_axisbelow(True)
    plt.ylabel("Evaluation score (Spearman \N{GREEK SMALL LETTER RHO})", fontsize="x-large")
    plt.savefig(out_filename, bbox_inches="tight", dpi=300)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: commonsense/conceptnet5
Commit Name: 8524810d21a051f88478b430da098b046accd5a4
Time: 2017-04-24
Author: rob@luminoso.com
File Name: conceptnet5/vectors/evaluation/compare.py
Class Name:
Method Name: graph_comparison


Project Name: matplotlib/matplotlib
Commit Name: 463614dfed0a664b045691762f5d0a4e13a48f67
Time: 2020-01-16
Author: anntzer.lee@gmail.com
File Name: examples/scales/custom_scale.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: f2e2aa02df60786f53f080cf58bf11698b67fc6c
Time: 2017-05-30
Author: dstansby@gmail.com
File Name: examples/text_labels_and_annotations/tex_demo.py
Class Name:
Method Name: