Skip to content
Closed
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
33 changes: 33 additions & 0 deletions lib/matplotlib/_image.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
import numpy

BESSEL: _InterpolationType
BICUBIC: _InterpolationType
BILINEAR: _InterpolationType
BLACKMAN: _InterpolationType
CATROM: _InterpolationType
GAUSSIAN: _InterpolationType
HAMMING: _InterpolationType
HANNING: _InterpolationType
HERMITE: _InterpolationType
KAISER: _InterpolationType
LANCZOS: _InterpolationType
MITCHELL: _InterpolationType
NEAREST: _InterpolationType
QUADRIC: _InterpolationType
SINC: _InterpolationType
SPLINE16: _InterpolationType
SPLINE36: _InterpolationType

class _InterpolationType:
def __init__(self, value: int) -> None: ...
def __eq__(self, other: object) -> bool: ...
def __hash__(self) -> int: ...
def __index__(self) -> int: ...
def __int__(self) -> int: ...
def __ne__(self, other: object) -> bool: ...
@property
def name(self) -> str: ...
@property
def value(self) -> int: ...

def resample(input_array: numpy.ndarray, output_array: numpy.ndarray, transform: object, interpolation: _InterpolationType = ..., resample: bool = ..., alpha: float = ..., norm: bool = ..., radius: float = ...) -> None: ...
Loading