Thanks to visit codestin.com Credit goes to github.com
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.
1 parent 3019e81 commit 3d41e13Copy full SHA for 3d41e13
1 file changed
doc/users/next_whats_new/imshow_m_n_1.rst
@@ -0,0 +1,6 @@
1
+Imshow now coerces 3D arrays with depth 1 to 2D
2
+------------------------------------------------
3
+The number of ticks on colorbars was appropriate for a large colorbar, but
4
+Starting from this version arrays of size MxNx1 will be coerced into MxN
5
+for displaying. This means commands like ``plt.imshow(np.ones((3, 3, 1)))``
6
+will no longer return an error message that the image shape is invalid.
0 commit comments