8000 Update Axes.pyi pie stub to include hatch, regenerate pyplot with hat… · ksunden/matplotlib@c4af373 · GitHub
[go: up one dir, main page]

Skip to content

Commit c4af373

Browse files
committed
Update Axes.pyi pie stub to include hatch, regenerate pyplot with hatch annotation
1 parent aa8fdc7 commit c4af373

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

lib/matplotlib/axes/_axes.pyi

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,8 @@ class Axes(_AxesBase):
299299
frame: bool = ...,
300300
rotatelabels: bool = ...,
301301
*,
302-
normalize: bool = ...
302+
normalize: bool = ...,
303+
hatch: str | Sequence[str] | None = ...
303304
): ...
304305
def errorbar(
305306
self,

lib/matplotlib/pyplot.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3468,6 +3468,7 @@ def pie(
34683468
rotatelabels: bool = False,
34693469
*,
34703470
normalize: bool = True,
3471+
hatch: str | Sequence[str] | None = None,
34713472
data=None,
34723473
):
34733474
return gca().pie(
@@ -3488,6 +3489,7 @@ def pie(
34883489
frame=frame,
34893490
rotatelabels=rotatelabels,
34903491
normalize=normalize,
3492+
hatch=hatch,
34913493
**({"data": data} if data is not None else {}),
34923494
)
34933495

0 commit comments

Comments
 (0)
0