def writeRowHeaders(self):

        current_x = self.mDataWidth + self.mSeparator

        current_y = self.mHeaderHeight + self.mSeparator + self.mHeaderFontSize

        for name in self.mRowNames:
            e = SVGdraw.text(current_x,
                             current_y,
                             name,
                             self.mHeaderFontSize,
                             self.mHeaderFont,
                             stroke="rgb(%i,%i,%i)" % BLACK,
                             text_anchor="start")

            self.mElements.append(e)

            current_y += self.mRowHeight

        self.mHeaderWidth = max(
            map(len, self.mRowNames)) * self.mHeaderFontSize / 2
write row headers.
dataset/ETHPy150Open CGATOxford/cgat/scripts/go2svg.py/GoPlot.writeRowHeaders