def set_ticklabels(self, ticklabels, *args, **kwargs):
<EOL>minor = kwargs.pop('<STR_LIT>', False)<EOL>if minor:<EOL><INDENT>self.set_minor_formatter(mticker.FixedFormatter(ticklabels))<EOL>ticks = self.get_minor_ticks()<EOL><DEDENT>else:<EOL><INDENT>self.set_major_formatter( mticker.FixedFormatter(ticklabels) )<EOL>ticks = self.get_major_ticks()<EOL><DEDENT>self.set_major_formatter( mticker.FixedFormatter(ticklabels) )<EOL>ret = []<EOL>for i, tick in enumerate(ticks):<EOL><INDENT>if i<len(ticklabels):<EOL><INDENT>tick.label1.set_text(ticklabels[i])<EOL>ret.append(tick.label1)<EOL><DEDENT>tick.label1.update(kwargs)<EOL><DEDENT>return ret<EOL>
Set the text values of the tick labels. Return a list of Text
instances.  Use *kwarg* *minor=True* to select minor ticks.

ACCEPTS: sequence of strings