ae098dc6dbc8abfb8068723e13908424c706eb78,livelossplot/core.py,,draw_plot,#Any#Any#Any#Any#Any#Any#Any#Any#,19

Before Change


        plt.xlabel("epoch")
        plt.legend(loc="center right")
        if annotation:
            plt.annotate(annotation, (0, 0), (0, -40),
                         xycoords="axes fraction", textcoords="offset points", va="top")

    plt.tight_layout()
    plt.subplots_adjust(hspace=0.5)
    plt.show()

After Change


                     val_metric_logs,
                     label="validation")
            if extrema:
                extrema_logs[-1] += validation_log_fmt.format(
                    min=extrema[val_metric_name].get("min", float("inf")),
                    max=extrema[val_metric_name].get("max", -float("inf")),
                    cur=val_metric_logs[-1]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: stared/livelossplot
Commit Name: ae098dc6dbc8abfb8068723e13908424c706eb78
Time: 2018-11-27
Author: katarzyna.m.kanska@gmail.com
File Name: livelossplot/core.py
Class Name:
Method Name: draw_plot


Project Name: biotite-dev/biotite
Commit Name: b226add036b6a7693618f515641f939e1ab9bb0e
Time: 2020-05-26
Author: tom.mueller@beachouse.de
File Name: doc/examples/scripts/structure/base_pairs.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: ac10acb627df7db3eb661bf4bafdd75854b3051a
Time: 2020-04-02
Author: anntzer.lee@gmail.com
File Name: tutorials/intermediate/imshow_extent.py
Class Name:
Method Name: generate_imshow_demo_grid