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

Skip to content

Commit d6606c2

Browse files
tacaswelltimhoffm
authored andcommitted
TYP: add __all__ to all stubfiles
1 parent 0189df7 commit d6606c2

File tree

5 files changed

+19
-0
lines changed

5 files changed

+19
-0
lines changed

lib/matplotlib/stackplot.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,5 @@ def stackplot(
1616
baseline: Literal["zero", "sym", "wiggle", "weighted_wiggle"] = ...,
1717
**kwargs
1818
) -> list[PolyCollection]: ...
19+
20+
__all__ = ['stackplot']

lib/matplotlib/streamplot.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,5 @@ class StreamMask:
8282
class InvalidIndexError(Exception): ...
8383
class TerminateTrajectory(Exception): ...
8484
class OutOfBounds(IndexError): ...
85+
86+
__all__ = ['streamplot']

lib/matplotlib/style/core.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,5 @@ library: dict[str, RcParams]
1717
available: list[str]
1818

1919
def reload_library() -> None: ...
20+
21+
__all__ = ['use', 'context', 'available', 'library', 'reload_library']

lib/matplotlib/ticker.pyi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,3 +295,14 @@ class AutoLocator(MaxNLocator):
295295
class AutoMinorLocator(Locator):
296296
ndivs: int
297297
def __init__(self, n: int | None = ...) -> None: ...
298+
299+
__all__ = ('TickHelper', 'Formatter', 'FixedFormatter',
300+
'NullFormatter', 'FuncFormatter', 'FormatStrFormatter',
301+
'StrMethodFormatter', 'ScalarFormatter', 'LogFormatter',
302+
'LogFormatterExponent', 'LogFormatterMathtext',
303+
'LogFormatterSciNotation',
304+
'LogitFormatter', 'EngFormatter', 'PercentFormatter',
305+
'Locator', 'IndexLocator', 'FixedLocator', 'NullLocator',
306+
'LinearLocator', 'LogLocator', 'AutoLocator',
307+
'MultipleLocator', 'MaxNLocator', 'AutoMinorLocator',
308+
'SymmetricalLogLocator', 'AsinhLocator', 'LogitLocator')

lib/matplotlib/tri/_triinterpolate.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,5 @@ class CubicTriInterpolator(TriInterpolator):
2828
trifinder: TriFinder | None = ...,
2929
dz: tuple[ArrayLike, ArrayLike] | None = ...,
3030
) -> None: ...
31+
32+
__all__ = ('TriInterpolator', 'LinearTriInterpolator', 'CubicTriInterpolator')

0 commit comments

Comments
 (0)