回答編集履歴
1
d
answer
CHANGED
@@ -27,10 +27,10 @@
|
|
27
27
|
img1 = Image.open("sample.png")
|
28
28
|
img2 = Image.open("sample2.jpg")
|
29
29
|
fig, [ax1, ax2] = plt.subplots(1, 2)
|
30
|
-
ax1.
|
30
|
+
ax1.set_title("A")
|
31
31
|
ax1.set_axis_off()
|
32
32
|
ax1.imshow(img1)
|
33
|
-
ax2.
|
33
|
+
ax2.set_title("B")
|
34
34
|
ax2.set_axis_off()
|
35
35
|
ax2.imshow(img2)
|
36
36
|
plt.show()
|
@@ -47,4 +47,4 @@
|
|
47
47
|
print(f"{elapsed:.2f} (secs)")
|
48
48
|
```
|
49
49
|
|
50
|
-

|