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

Skip to content

Commit 01dd905

Browse files
committed
Add stub for _image
1 parent 956cc02 commit 01dd905

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

lib/matplotlib/_image.pyi

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import numpy
2+
3+
BESSEL: _InterpolationType
4+
BICUBIC: _InterpolationType
5+
BILINEAR: _InterpolationType
6+
BLACKMAN: _InterpolationType
7+
CATROM: _InterpolationType
8+
GAUSSIAN: _InterpolationType
9+
HAMMING: _InterpolationType
10+
HANNING: _InterpolationType
11+
HERMITE: _InterpolationType
12+
KAISER: _InterpolationType
13+
LANCZOS: _InterpolationType
14+
MITCHELL: _InterpolationType
15+
NEAREST: _InterpolationType
16+
QUADRIC: _InterpolationType
17+
SINC: _InterpolationType
18+
SPLINE16: _InterpolationType
19+
SPLINE36: _InterpolationType
20+
21+
class _InterpolationType:
22+
def __init__(self, value: int) -> None: ...
23+
def __eq__(self, other: object) -> bool: ...
24+
def __hash__(self) -> int: ...
25+
def __index__(self) -> int: ...
26+
def __int__(self) -> int: ...
27+
def __ne__(self, other: object) -> bool: ...
28+
@property
29+
def name(self) -> str: ...
30+
@property
31+
def value(self) -> int: ...
32+
33+
def resample(input_array: numpy.ndarray, output_array: numpy.ndarray, transform: object, interpolation: _InterpolationType = ..., resample: bool = ..., alpha: float = ..., norm: bool = ..., radius: float = ...) -> None: ...

0 commit comments

Comments
 (0)