def _update(self):
if not self._inited or not self._updateson: return<EOL>line = self.get_active_line()<EOL>ls = self.get_active_linestyle()<EOL>marker = self.get_active_marker()<EOL>line.set_linestyle(ls)<EOL>line.set_marker(marker)<EOL>button = self.wtree.get_widget('<STR_LIT>')<EOL>color = button.get_color()<EOL>r, g, b = [val/<NUM_LIT> for val in (color.red, color.green, color.blue)]<EOL>line.set_color((r,g,b))<EOL>button = self.wtree.get_widget('<STR_LIT>')<EOL>color = button.get_color()<EOL>r, g, b = [val/<NUM_LIT> for val in (color.red, color.green, color.blue)]<EOL>line.set_markerfacecolor((r,g,b))<EOL>line.figure.canvas.draw()<EOL>
update the active line props from the widgets