ec5e8863a6352da673b55cb971529f38278cf64e,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)

plt.tight_layout()

After Change


// We are making a thick green line as a zero contour.
// Specify the zero level as a tuple with only 0 in it.

cset3 = axs[0].contour(X, Y, Z, (0,), colors="g", linewidths=2)
axs[0].set_title("Filled contours")
fig.colorbar(cset1, ax=axs[0])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

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: autoreject/autoreject
Commit Name: beeddd09c5550a13447104d282f2dbc756620e52
Time: 2018-05-05
Author: denis.engemann@gmail.com
File Name: examples/plot_auto_repair.py
Class Name:
Method Name: