ac10acb627df7db3eb661bf4bafdd75854b3051a,tutorials/intermediate/imshow_extent.py,,generate_imshow_demo_grid,#Any#Any#Any#,135

Before Change


                       "xy": (1, .5)}
        if extent is None:
            ax.annotate("None", **text_kwargs)
            ax.set_title("extent=")
        else:
            left, right, bottom, top = extent
            text = ("left: {left:0.1f}\nright: {right:0.1f}\n" +
                    "bottom: {bottom:0.1f}\ntop: {top:0.1f}\n").format(

After Change


            left, right, bottom, top = extent
            text = (f"left: {left:0.1f}\nright: {right:0.1f}\n"
                    f"bottom: {bottom:0.1f}\ntop: {top:0.1f}\n")
        ax.text(1., .5, text, transform=ax.transAxes, ha="right", va="center")
        ax.axis("off")
    return columns

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


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


Project Name: matplotlib/matplotlib
Commit Name: 1bdce560531184ea018991fb01f4ec56ff34995d
Time: 2019-04-14
Author: anntzer.lee@gmail.com
File Name: examples/text_labels_and_annotations/unicode_minus.py
Class Name:
Method Name:


Project Name: rtavenar/tslearn
Commit Name: d6e0fa2abbc9820d294589d6ab6be1b12024f7f2
Time: 2020-06-07
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/docs/examples/classification/plot_shapelet_distances.py
Class Name:
Method Name: