ec5e8863a6352da673b55cb971529f38278cf64e,examples/images_contours_and_fields/tricontour_demo.py,,,#,17

Before Change


plt.gca().set_aspect("equal")
plt.tricontourf(x, y, triangles, z)
plt.colorbar()
plt.title("Contour plot of user-specified triangulation")
plt.xlabel("Longitude (degrees)")
plt.ylabel("Latitude (degrees)")

plt.show()

After Change


// object if the same triangulation was to be used more than once to save
// duplicated calculations.

fig2, ax2 = plt.subplots()
ax2.set_aspect("equal")
tcf = ax2.tricontourf(x, y, triangles, z)
fig2.colorbar(tcf)
ax2.set_title("Contour plot of user-specified triangulation")
ax2.set_xlabel("Longitude (degrees)")
ax2.set_ylabel("Latitude (degrees)")

plt.show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 10

Instances


Project Name: matplotlib/matplotlib
Commit Name: ec5e8863a6352da673b55cb971529f38278cf64e
Time: 2018-03-26
Author: pmhobson@gmail.com
File Name: examples/images_contours_and_fields/tricontour_demo.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/tripcolor_demo.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/tripcolor_demo.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/tricontour_demo.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/tricontour_demo.py
Class Name:
Method Name: