def text(self, x, y, s, fontdict=None,<EOL>withdash=False, **kwargs):
default = {<EOL>'<STR_LIT>' : '<STR_LIT>',<EOL>'<STR_LIT>' : '<STR_LIT:left>',<EOL>'<STR_LIT>' : self.transData,<EOL>}<EOL>if withdash:<EOL><INDENT>t = mtext.TextWithDash(<EOL>x=x, y=y, text=s,<EOL>)<EOL><DEDENT>else:<EOL><INDENT>t = mtext.Text(<EOL>x=x, y=y, text=s,<EOL>)<EOL><DEDENT>self._set_artist_props(t)<EOL>t.update(default)<EOL>if fontdict is not None: t.update(fontdict)<EOL>t.update(kwargs)<EOL>self.texts.append(t)<EOL>t._remove_method = lambda h: self.texts.remove(h)<EOL>if '<STR_LIT>' in kwargs:  t.set_clip_box(self.bbox)<EOL>return t<EOL>
call signature::

   text(x, y, s, fontdict=None, **kwargs)

 Add text in string *s* to axis at location *x*, *y*, data
 coordinates.

 Keyword arguments:

   *fontdict*:
     A dictionary to override the default text properties.
     If *fontdict* is *None*, the defaults are determined by your rc
     parameters.

   *withdash*: [ False | True ]
     Creates a :class:`~matplotlib.text.TextWithDash` instance
     instead of a :class:`~matplotlib.text.Text` instance.

 Individual keyword arguments can be used to override any given
 parameter::

     text(x, y, s, fontsize=12)

 The default transform specifies that text is in data coords,
 alternatively, you can specify text in axis coords (0,0 is
 lower-left and 1,1 is upper-right).  The example below places
 text in the center of the axes::

     text(0.5, 0.5,'matplotlib',
          horizontalalignment='center',
          verticalalignment='center',
          transform = ax.transAxes)

You can put a rectangular box around the text instance (eg. to
set a background color) by using the keyword *bbox*.  *bbox* is
a dictionary of :class:`matplotlib.patches.Rectangle`
properties.  For example::

  text(x, y, s, bbox=dict(facecolor='red', alpha=0.5))

Valid kwargs are :class:`matplotlib.text.Text` properties:

%(Text)s