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

def matplotlib::collections::LineCollection::set_linestyle (   self,
  ls 
)

Set the linestyles(s) for the collection.
ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' |  (offset, on-off-dash-seq) ]

Definition at line 800 of file collections.py.

00800                                :
        """
        Set the linestyles(s) for the collection.
        ACCEPTS: ['solid' | 'dashed', 'dashdot', 'dotted' |  (offset, on-off-dash-seq) ]
        """
        if cbook.is_string_like(ls):
            dashes = backend_bases.GraphicsContextBase.dashd[ls]
        elif cbook.iterable(ls) and len(ls)==2:
            dashes = ls
        else: raise ValueError('Do not know how to convert %s to dashes'%ls)


        self._ls = dashes

    def set_color(self, c):


Generated by  Doxygen 1.6.0   Back to index