title: How to set border for wedges in matplotlib pie chart?
body: <p>Got some problem with plotting a pie chart in matplotlib. Currently it's plotting properly the chart itself, but there is a small issue with its wedges. As I set wedgeprops in arguments (eg. linewidth, same with linestyle) it change this for shadow that is beneath chart, not for wedges itself.</p>
  
  <p>How to draw proper borders for wedges and not for shadows? This is how it looks like now.</p>
  
  <pre><code>import matplotlib.pyplot as plt
  
  pie_chart_labels = ('Failed', 'Passed', 'Disabled')
  pie_chart_colors = ('red', 'green', 'grey')
  pie_chart_exploded = (0, 0.08, 0)
  pie_chart_fig, pie_chart_ax = plt.subplots()
  pie_chart_ax.margins(0.05)
  pie_chart_ax.axis('equal')
  pie_chart_test_results = (8, 5, 2)
  
  pie_chart_ax.pie(pie_chart_test_results, 
                   explode=pie_chart_exploded, 
                   labels=pie_chart_labels,     
                   colors=pie_chart_colors, 
                   shadow=True, 
                   counterclock=False, 
                   startangle=90, 
                   wedgeprops={'linewidth': 1, 'linestyle': 'solid', 'antialiased': True})
  
  pie_chart_fig.savefig('PieChart.png')
  </code></pre>
  
  <p>matplotlib border for shadow:</p>
  
  <p><a href="https://i.stack.imgur.com/ryscx.png" rel="noreferrer"><img src="https://i.stack.imgur.com/ryscx.png" alt="enter image description here"></a></p>