def updateButtonText(self, lst):
axis_txt = '<STR_LIT>'<EOL>for e in lst:<EOL><INDENT>axis_txt += '<STR_LIT>' % (e+<NUM_LIT:1>)<EOL><DEDENT>self.SetLabel("<STR_LIT>" % axis_txt[:-<NUM_LIT:1>])<EOL>
Update the list of selected axes in the menu button