We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9085810 + 1c61e5a commit 66d675aCopy full SHA for 66d675a
examples/images_contours_and_fields/multi_image.py
@@ -13,7 +13,6 @@
13
np.random.seed(19680801)
14
Nr = 3
15
Nc = 2
16
-cmap = "cool"
17
18
fig, axs = plt.subplots(Nr, Nc)
19
fig.suptitle('Multiple images')
@@ -22,8 +21,8 @@
22
21
for i in range(Nr):
23
for j in range(Nc):
24
# Generate data with a range that varies from one plot to the next.
25
- data = ((1 + i + j) / 10) * np.random.rand(10, 20) * 1e-6
26
- images.append(axs[i, j].imshow(data, cmap=cmap))
+ data = ((1 + i + j) / 10) * np.random.rand(10, 20)
+ images.append(axs[i, j].imshow(data))
27
axs[i, j].label_outer()
28
29
# Find the min and max of all colors for use in setting the color scale.
0 commit comments