title: Python - How to plot a 3D array?
body: <p>Is there a simple way to plot a 3D array (i.e., an array with shape <code>(a,b,c)</code>) on Python like the one in the picture?</p>
  
  <p><code>plot_surface, scatter</code> from matplotlib, and other packages like <code>pyx</code> don't satisfy my requirements as they want explicit <code>(x,y,z)</code> arrays, and I think looping over the 3D array is inefficient.</p>
  
  <p><img src="https://i.stack.imgur.com/TZhcE.jpg" alt="3D stellar atmosphere"> </p>
  
  <p>(from <a href="http://rsaa.anu.edu.au/study/potential-projects/stellar-magnetic-fields-and-stellar-spectra" rel="nofollow noreferrer">http://rsaa.anu.edu.au/study/potential-projects/stellar-magnetic-fields-and-stellar-spectra</a>)</p>