Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 22a3392

Browse files
authored
Update imshow_m_n_1.rst
updating based on feedback from @ImportanceOfBeingErnest
1 parent 3d41e13 commit 22a3392

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
Imshow now coerces 3D arrays with depth 1 to 2D
22
------------------------------------------------
3-
The number of ticks on colorbars was appropriate for a large colorbar, but
43
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)))``
4+
for displaying. This means commands like ``plt.imshow(np.random.rand(3, 3, 1))``
65
will no longer return an error message that the image shape is invalid.

0 commit comments

Comments
 (0)