title: Draw 3D Polygon Using Vertex Array Python (Matplotlib)
body: <p>I need to draw polygons using vertex arrays in the form P = (X, Y, Z), a Cube would be represented by:</p>
  
  <pre><code>P1 = [0,0,0]
  P2 = [0,1,0]
  P3 = [1,0,1]
  P4 = [0,1,1]
  P5 = [1,1,1]
  P6 = [1,1,0]
  P7 = [1,0,0]
  P8 = [0,0,1]
  </code></pre>
  
  <p>With that given I want to be able to draw the lines between the points and show the object in 3D, I already have matplotlib installed but if you have the solution for it using another library it's totally fine.
  By the way, I've already searched for similar topics but couldn't find help, I have also read the matplotlib docs but didn't find a way to do this. <a href="https://stackoverflow.com/questions/4622057/plotting-3d-polygons-in-python-matplotlib">Plotting 3D Polygons in python-matplotlib</a> this doesnt either...
  Thanks!</p>