Logo Search packages:      
Sourcecode: matplotlib version File versions

def matplotlib::cm::ScalarMappable::set_clim (   self,
  vmin = None,
  vmax = None 
) [inherited]

set the norm limits for image scaling; if *vmin* is a length2
sequence, interpret it as ``(vmin, vmax)`` which is used to
support setp

ACCEPTS: a length 2 sequence of floats

Definition at line 99 of file cm.py.

00099                                             :
        """
        set the norm limits for image scaling; if *vmin* is a length2
        sequence, interpret it as ``(vmin, vmax)`` which is used to
        support setp

        ACCEPTS: a length 2 sequence of floats
        """
        if (vmin is not None and vmax is None and
                                cbook.iterable(vmin) and len(vmin)==2):
            vmin, vmax = vmin

        if vmin is not None: self.norm.vmin = vmin
        if vmax is not None: self.norm.vmax = vmax
        self.changed()

    def set_cmap(self, cmap):


Generated by  Doxygen 1.6.0   Back to index