DNATool2/Base.py
def drawSeqBackground(self, color='white'):
        """Draw a background for a sequence"""
        c = self.canvas
        x = self.seqstart
        height = self.basescale
        y = self.baserow+height/2
        end = self.seqend
        rect = c.create_rectangle(x,y, x+end, y-height,
                                   width=0,tag=('seqbackground','sequence'),fill=color)
        c.tag_lower(rect)
        return rect
Draw a background for a sequence
Draw a background for a sequence
Draw a background for a sequence
def drawSeqBackground(self, color='white'):
        c = self.canvas
        x = self.seqstart
        height = self.basescale
        y = self.baserow+height/2
        end = self.seqend
        rect = c.create_rectangle(x,y, x+end, y-height,
                                   width=0,tag=('seqbackground','sequence'),fill=color)
        c.tag_lower(rect)
        return rect
def drawSeqBackground ( self , color = 'white' ) : c = self . canvas x = self . seqstart height = self . basescale y = self . baserow + height / 2 end = self . seqend rect = c . create_rectangle ( x , y , x + end , y - height , width = 0 , tag = ( 'seqbackground' , 'sequence' ) , fill = color ) c . tag_lower ( rect ) return rect
Draw a background for a sequence
Draw a background for a sequence
"""Draw a background for a sequence"""
self
color