title: RBG image as texture for a 3D cube using matplotlib
body: <p>I want to plot a 3D cube using matplotlib, and map an arbitary RGB image (jpg or png) as a texture to each side of the cube.  There is a good example <a href="https://stackoverflow.com/questions/31831638/assigning-a-2d-image-for-every-face-of-a-3d-cube-matlab">here using matlab</a>.</p>
  
  <p><a href="https://i.stack.imgur.com/jvXYd.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jvXYd.jpg" alt="enter image description here"></a></p>
  
  <p>I just wonder how to do it using Python/matplotlib, possibly starting from <a href="https://stackoverflow.com/questions/33540109/plot-surfaces-on-a-cube">this example</a>.</p>