def make_datapoint_text(self, x, y, value, style=None):
if not self.show_data_values:<EOL><INDENT>return<EOL><DEDENT>e = etree.SubElement(self.foreground, '<STR_LIT:text>', {<EOL>'<STR_LIT:x>': str(x),<EOL>'<STR_LIT:y>': str(y),<EOL>'<STR_LIT:class>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>' % vars(),<EOL>})<EOL>e.text = str(value)<EOL>e = etree.SubElement(self.foreground, '<STR_LIT:text>', {<EOL>'<STR_LIT:x>': str(x),<EOL>'<STR_LIT:y>': str(y),<EOL>'<STR_LIT:class>': '<STR_LIT>'})<EOL>e.text = str(value)<EOL>if style:<EOL><INDENT>e.set('<STR_LIT>', style)<EOL><DEDENT>
Add text for a datapoint