27c2dc10bb9f83026db6378c151d8108fc044af8,examples/images_contours_and_fields/contour_image.py,,,#,20

Before Change


v = plt.axis()
plt.contour(Z, levels, colors="k", origin="image", extent=extent)
plt.axis(v)
ylim = plt.get(plt.gca(), "ylim")
plt.setp(plt.gca(), ylim=ylim[::-1])
plt.title("Origin from rc, reversed y-axis")
plt.colorbar(im)

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: 4

Instances


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: 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: DistrictDataLabs/yellowbrick
Commit Name: 08cbf0a9819b92eec39c6127cf8031935a217583
Time: 2017-05-21
Author: benjamin@bengfort.com
File Name: yellowbrick/features/scatter.py
Class Name: ScatterVisualizer
Method Name: draw