05b957399fd172a0bcbe0afd4052b3f0193d9df7,examples/images_contours_and_fields/image_masked.py,,,#,18
Before Change
// Set up a colormap:
// use copy so that we do not mutate the global colormap instance
palette = copy(plt.cm.gray)
palette.set_over("r", 1.0)
palette.set_under("g", 1.0)
palette.set_bad("b", 1.0)
// Alternatively, we could use
// palette.set_bad(alpha = 0.0)
// to make the bad region transparent. This is the default.
After Change
Z = (Z1 - Z2) * 2
// Set up a colormap:
palette = plt.cm.gray.with_extremes(over="r", under="g", bad="b")
// Alternatively, we could use
// palette.set_bad(alpha = 0.0)
// to make the bad region transparent. This is the default.
// If you comment out all the palette.set* lines, you will see
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: matplotlib/matplotlib
Commit Name: 05b957399fd172a0bcbe0afd4052b3f0193d9df7
Time: 2020-10-21
Author: anntzer.lee@gmail.com
File Name: examples/images_contours_and_fields/image_masked.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 05b957399fd172a0bcbe0afd4052b3f0193d9df7
Time: 2020-10-21
Author: anntzer.lee@gmail.com
File Name: tutorials/colors/colorbar_only.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: b705e02031cc97eb2d078f590ee2e85f1465691e
Time: 2020-11-08
Author: brunobeltran0@gmail.com
File Name: examples/images_contours_and_fields/contourf_demo.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 05b957399fd172a0bcbe0afd4052b3f0193d9df7
Time: 2020-10-21
Author: anntzer.lee@gmail.com
File Name: examples/images_contours_and_fields/image_masked.py
Class Name:
Method Name: