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

Skip to content

Commit fe9a8b0

Browse files
committed
Rework axes/__init__.pyi to not use __all__
1 parent 27a0884 commit fe9a8b0

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

lib/matplotlib/axes/__init__.pyi

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
1-
__all__ = [
2-
'Axes',
3-
'Subplot',
4-
'SubplotBase',
5-
]
6-
71
from typing import TypeVar
82

9-
from ._axes import *
10-
from ._axes import Axes as Subplot
3+
from ._axes import Axes as Axes
4+
115

126
_T = TypeVar("_T")
137

8+
Subplot = Axes
9+
1410
class _SubplotBaseMeta(type):
1511
def __instancecheck__(self, obj) -> bool: ...
1612

0 commit comments

Comments
 (0)