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

def matplotlib::collections::LineCollection::color (   self,
  c 
)

Set the color(s) of the line collection.  c can be a
matplotlib color arg (all patches have same color), or a a
sequence or rgba tuples; if it is a sequence the patches will
cycle through the sequence

ACCEPTS: matplotlib color arg or sequence of rgba tuples

Definition at line 825 of file collections.py.

00825                       :
        """
        Set the color(s) of the line collection.  c can be a
        matplotlib color arg (all patches have same color), or a a
        sequence or rgba tuples; if it is a sequence the patches will
        cycle through the sequence

        ACCEPTS: matplotlib color arg or sequence of rgba tuples
        """
        warnings.warn('LineCollection.color deprecated; use set_color instead')
        return self.set_color(c)

    def set_alpha(self, alpha):


Generated by  Doxygen 1.6.0   Back to index