title: regarding the usage of np.all along with axis
body: <p>I tried to test the usage of <code>np.all</code>, the test array <code>a</code> is   </p>
  
  <pre><code> a=array([[[  0,   0,   0],
          [  0,   0,   0],
          [  0,   0,   0],
          [  0,   0,   0]],
  
         [[  0,   0, 255],
          [255, 255, 255],
          [  0,   0,   0],
          [255,   0,   0]]])
  
  b = [255,0,255]
  c = np.all(a==b,axis=1)
  </code></pre>
  
  <p>I got </p>
  
  <pre><code>c= array([[False,  True, False],
     [False, False, False]], dtype=bool)
  </code></pre>
  
  <p>I don't understand how was <code>TRUE</code> in c obtained from running <code>np.all(a==b,axis=1)</code>.</p>