Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 01dd905

Browse filesBrowse files
committed
Add stub for _image
1 parent 956cc02 commit 01dd905
Copy full SHA for 01dd905

File tree

1 file changed

+33
-0
lines changed
Filter options

1 file changed

+33
-0
lines changed

‎lib/matplotlib/_image.pyi

Copy file name to clipboard
+33Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.