Fill area of polygons with python
<p>I use this part of a code to plot polygons :</p>

<pre><code>plt.plot(x,y,'k',linewidth=2)
</code></pre>

<p>And I get this image:
<a href="http://i.stack.imgur.com/wqV8n.png" rel="nofollow"><img src="http://i.stack.imgur.com/wqV8n.png" alt="enter image description here"></a></p>

<p>I would like to fill the area of my polygons in blue, but I can't find any properties to do it... How can I do that ?</p>

<p>you should consider using matplotlib's <a href="http://matplotlib.org/api/patches_api.html" rel="nofollow">polygon</a></p>

python matplotlib