title: Is there a way in python to stack arrays of pixels of same size (such as a z-stack)?
body: <p>I just want to sort of clarify for example could I somehow stack a few 2D arrays into an image?</p>
  <pre><code>array1=[[0,0,0,0,0]
          [0,7.6,7,7.2,0]
          [0,7.6,7,0,0]
          [0,0,0,0,0]]
  
  array2=[[0,0,0,0,0]
          [0,7.6,7,7.2,0]
          [0,7.6,7,0,0]
          [0,0,0,0,0]]
  </code></pre>
  <p>And then see them in 3D space such as the cube example at <a href="https://www.geeksforgeeks.org/displaying-3d-images-in-python/" rel="nofollow noreferrer">link</a></p>
  <p>I haven't really tried much other than trying to make other things using the geeks for geeks code. So any direction at all would be appreciated.</p>