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

Method set_resample

lib/matplotlib/image.py:788–798  ·  view source on GitHub ↗

Set whether image resampling is used. Parameters ---------- v : bool, default: :rc:`image.resample`

(self, v)

Source from the content-addressed store, hash-verified

786 trans.is_separable)
787
788 def set_resample(self, v):
789 """
790 Set whether image resampling is used.
791
792 Parameters
793 ----------
794 v : bool, default: :rc:`image.resample`
795 """
796 v = mpl._val_or_rc(v, 'image.resample')
797 self._resample = v
798 self.stale = True
799
800 def get_resample(self):
801 """Return whether image resampling is used."""

Callers 1

__init__Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected