ec5e8863a6352da673b55cb971529f38278cf64e,examples/images_contours_and_fields/contourf_demo.py,,,#,11

Before Change



plt.title("Nonsense (3 masked regions)")
plt.xlabel("word length anomaly")
plt.ylabel("sentence length anomaly")

// Make a colorbar for the ContourSet returned by the contourf call.
cbar = plt.colorbar(CS)
cbar.ax.set_ylabel("verbosity coefficient")

After Change



CS2 = ax2.contour(CS, levels=CS.levels[::2], colors="r", origin=origin)

ax2.set_title("Nonsense (3 masked regions)")
ax2.set_xlabel("word length anomaly")
ax2.set_ylabel("sentence length anomaly")

// Make a colorbar for the ContourSet returned by the contourf call.
cbar = fig1.colorbar(CS)
cbar.ax.set_ylabel("verbosity coefficient")
// Add the contour line levels to the colorbar
cbar.add_lines(CS2)

fig2, ax2 = plt.subplots()
// Now make a contour plot with the levels specified,
// and with the colormap generated automatically from a list
// of colors.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 8

Instances


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


Project Name: matplotlib/matplotlib
Commit Name: 64fdd33e3d7e0c4fcc79d175653b8872db46b51f
Time: 2017-01-20
Author: pmhobson@gmail.com
File Name: examples/style_sheets/plot_dark_background.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 8e2a74583e11fe77f116ee1f1b186f0875d8ce66
Time: 2019-07-30
Author: mbussonnier@ucmerced.edu
File Name: examples/subplots_axes_and_figures/invert_axes.py
Class Name:
Method Name: