title: why the output is different from the value of variable after showing using plt.imshow?
body: <p>I have a variable with shape (1,28,28,1) and all of its values are <code>1</code>, but when I show it with <code>plt.imshow(intermediate.reshape(28,28), cmap='gray')</code> it shows a black image, though it should be white. When I check the variable explorer, all values are indeed <code>1</code>.</p>
  
  <p>Why does this happen? Can I be sure the correct value will be passed on to the rest of my code? Why does it show a black image in the output?</p>
  
  <p>this the output of w_test I put the code in the comment.
  <a href="https://i.stack.imgur.com/EuyMJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/EuyMJ.png" alt="enter image description here"></a></p>