Skip to content

Commit 3b767f6

Browse files
committed
adding the linewidth keyword argument to pie
1 parent 59e1509 commit 3b767f6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/axes/_axes.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -2336,7 +2336,8 @@ def stem(self, *args, **kwargs):
23362336

23372337
def pie(self, x, explode=None, labels=None, colors=None,
23382338
autopct=None, pctdistance=0.6, shadow=False, labeldistance=1.1,
2339-
startangle=None, radius=None, counterclock=True):
2339+
startangle=None, radius=None, counterclock=True,
2340+
linewidth=None):
23402341
r"""
23412342
Plot a pie chart.
23422343
@@ -2459,7 +2460,8 @@ def pie(self, x, explode=None, labels=None, colors=None,
24592460

24602461
w = mpatches.Wedge((x, y), radius, 360. * min(theta1, theta2),
24612462
360. * max(theta1, theta2),
2462-
facecolor=colors[i % len(colors)])
2463+
facecolor=colors[i % len(colors)],
2464+
linewidth=linewidth)
24632465
slices.append(w)
24642466
self.add_patch(w)
24652467
w.set_label(label)

0 commit comments

Comments
 (0)