ec5e8863a6352da673b55cb971529f38278cf64e,examples/images_contours_and_fields/contour_image.py,,,#,20

Before Change


v = plt.axis()
plt.contour(Z, levels, colors="k", origin="upper", extent=extent)
plt.axis(v)
plt.title("Image, origin "upper"")

plt.subplot(2, 2, 3)

plt.imshow(Z, origin="lower", extent=extent, cmap=cmap, norm=norm)

After Change


                cmap=cmap, norm=norm)
axs[3].contour(Z, levels, colors="k", origin="image", extent=extent)
ylim = axs[3].get_ylim()
axs[3].set_ylim(ylim[::-1])
axs[3].set_title("Origin from rc, reversed y-axis")
fig.colorbar(im, ax=axs[3])

fig.tight_layout()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: matplotlib/matplotlib
Commit Name: ec5e8863a6352da673b55cb971529f38278cf64e
Time: 2018-03-26
Author: pmhobson@gmail.com
File Name: examples/images_contours_and_fields/contour_image.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 27c2dc10bb9f83026db6378c151d8108fc044af8
Time: 2018-06-27
Author: jklymak@gmail.com
File Name: examples/images_contours_and_fields/contour_image.py
Class Name:
Method Name:


Project Name: kundajelab/dragonn
Commit Name: f99a9affbc6f423b5ae9be435a096ae6852514b4
Time: 2019-06-06
Author: annashcherbina@gmail.com
File Name: dragonn/vis/__init__.py
Class Name:
Method Name: plot_seq_importance