title: deformed rectangulars with decreasing trend
body: <p>i have to implement some figures like that on the Picture with python (matplotlib).</p>
  <p><img src="https://i.stack.imgur.com/R0BsQ.jpg" alt="Picture" /></p>
  <p>Has anyone an idea how i could achieve this? I tried to work with polygons to create these deformed rectangulars, for example like this:</p>
  <pre><code>import matplotlib.pyplot as plt
  
  plt.axes()
  
  points = [[x, y]]    
  polygon = plt.Polygon(points)
  
  plt.show()
  </code></pre>
  <p>but it just shows a coordinate system and nothing else when I type in the x,y points to get a deformed rectangular.</p>
  <h1>Edit</h1>
  <p>I now used the answer by @ImportanceOfBeingErnest, but throws an error</p>
  <p><img src="https://i.stack.imgur.com/pqkeQ.jpg" alt="Picture" /></p>
  <p>Does anyone have an idea where this comes from?</p>