Logo Search packages:      
Sourcecode: matplotlib version File versions  Download package

def matplotlib::cm::ScalarMappable::notify (   self,
  mappable 
) [inherited]

If this is called then we are pegged to another mappable.
Update our cmap, norm, alpha from the other mappable.

Definition at line 176 of file cm.py.

00176                               :
        """
        If this is called then we are pegged to another mappable.
        Update our cmap, norm, alpha from the other mappable.
        """
        self.set_cmap(mappable.cmap)
        self.set_norm(mappable.norm)
        try:
            self.set_alpha(mappable.get_alpha())
        except AttributeError:
            pass

    def changed(self):


Generated by  Doxygen 1.6.0   Back to index