PEATDB/Ekin/Base.py
def _getlineColor(self, line):
        """Private method - get a lines' color"""
        clr = '#cccccc'
        try:
            clr = line.get_color()
        except:
            i=0
            while clr == '#cccccc':
                clr = tuple(line.get_facecolor()[i][:3])
                clr = matplotlib.colors.rgb2hex(clr)
                i+=1
        return clr
Private method - get a lines' color
Private method - get a lines' color
Private method - get a lines ' color
def _getlineColor(self, line):
        clr = '#cccccc'
        try:
            clr = line.get_color()
        except:
            i=0
            while clr == '#cccccc':
                clr = tuple(line.get_facecolor()[i][:3])
                clr = matplotlib.colors.rgb2hex(clr)
                i+=1
        return clr
def _getlineColor ( self , line ) : clr = '#cccccc' try : clr = line . get_color ( ) except : i = 0 while clr == '#cccccc' : clr = tuple ( line . get_facecolor ( ) [ i ] [ : 3 ] ) clr = matplotlib . colors . rgb2hex ( clr ) i += 1 return clr
Private method - get a lines' color
Private method - get a lines ' color
"""Private method - get a lines' color"""
self
line