回答編集履歴
1
説明の追記
answer
CHANGED
@@ -17,6 +17,6 @@
|
|
17
17
|
plt.tight_layout()
|
18
18
|
plt.show()
|
19
19
|
```
|
20
|
-
あと、pcolormesh()で「shading=」を指定しない場合は、m, kの個数はSのサイズよりも一つ多くする必要があります
|
20
|
+
あと、pcolormesh()で「shading=」を指定しない場合、または「shading='flat'」を指定する場合は、m, kの個数はSのサイズよりも一つ多くする必要があります
|
21
21
|
[matplotlib.pyplot.pcolormesh](https://matplotlib.org/api/_as_gen/matplotlib.pyplot.pcolormesh.html)
|
22
|
-
そのため、上記では「shading=」を指定してます
|
22
|
+
そのため、上記では「shading='auto'」を指定してます
|