Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bffbc3 commit dfcf928Copy full SHA for dfcf928
1 file changed
lib/matplotlib/image.py
@@ -964,6 +964,12 @@ def set_array(self, *args):
964
raise NotImplementedError('Method not supported')
965
966
def set_interpolation(self, s):
967
+ """
968
+ Parameters
969
+ ----------
970
+ s : str, None
971
+ Either 'nearest', 'bilinear', or ``None``.
972
973
if s is not None and s not in ('nearest', 'bilinear'):
974
raise NotImplementedError('Only nearest neighbor and '
975
'bilinear interpolations are supported')
0 commit comments