title: Resize 3D stack of images in Python
body: <p>I have a 3D numpy array, which is a stack of 100 300x300 images. I want to resize all the images in the stack to be 200x200. I tried to use the numpy resize function: </p>
  
  <pre><code>import numpy as np
  
  img_stack_sm = np.resize(img_stack, (100, 200, 200))
  </code></pre>
  
  <p>...but doing so scrambles the images (as shown by plotting). How can this be done in one pass? Thank you.</p>