MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_interpolation

Method get_interpolation

lib/matplotlib/image.py:725–734  ·  view source on GitHub ↗

Return the interpolation method the image uses when resizing. One of 'auto', 'antialiased', 'nearest', 'bilinear', 'bicubic', 'spline16', 'spline36', 'hanning', 'hamming', 'hermite', 'kaiser', 'quadric', 'catrom', 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos',

(self)

Source from the content-addressed store, hash-verified

723 self.set_data(A)
724
725 def get_interpolation(self):
726 """
727 Return the interpolation method the image uses when resizing.
728
729 One of 'auto', 'antialiased', 'nearest', 'bilinear', 'bicubic',
730 'spline16', 'spline36', 'hanning', 'hamming', 'hermite', 'kaiser',
731 'quadric', 'catrom', 'gaussian', 'bessel', 'mitchell', 'sinc', 'lanczos',
732 or 'none'.
733 """
734 return self._interpolation
735
736 def set_interpolation(self, s):
737 """

Callers 3

_resampleFunction · 0.80
figure_editFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected