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

Skip to content

Commit be79428

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

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
@@ -3483,6 +3483,7 @@ def pie(
34833483
rotatelabels: bool = False,
34843484
*,
34853485
normalize: bool = True,
3486+
hatch: str | Sequence[str] | None = None,
34863487
data=None,
34873488
):
34883489
return gca().pie(
@@ -3503,6 +3504,7 @@ def pie(
35033504
frame=frame,
35043505
rotatelabels=rotatelabels,
35053506
normalize=normalize,
3507+
hatch=hatch,
35063508
**({"data": data} if data is not None else {}),
35073509
)
35083510

0 commit comments

Comments
 (0)
0