Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions ci/mypy-stubtest-allowlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,8 @@ matplotlib\.animation\.EventSourceProtocol
# https://github.com/python/mypy/issues/19877
matplotlib\.ft2font\.GlyphIndexType\.__init__

# getitem method only exists for 3.11 deprecation backcompatability
matplotlib.container.PieContainer.__getitem__

# 3.12 deprecation
matplotlib\.axes\._base\._AxesBase\.ArtistList
3 changes: 2 additions & 1 deletion lib/matplotlib/container.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class ErrorbarContainer(Container):
**kwargs
) -> None: ...

class PieContainer(Container):
class PieContainer:
wedges: list[Wedge]
def __init__(
self,
Expand All @@ -74,6 +74,7 @@ class PieContainer(Container):
def add_texts(self,
texts: list[Text],
) -> None: ...
def remove(self) -> None: ...

class StemContainer(Container):
markerline: Line2D
Expand Down
Loading