class_docstr: Create a path from the text.
docstr: Create a path from the text. No support for TeX yet. Note that
  it simply is a path, not an artist. You need to use the
  PathPatch (or other artists) to draw this path onto the
  canvas.
  
  xy : position of the text.
  s : text
  size : font size
  prop : font property
docstr_tok: ["Create","a","path","from","the","text",".","No","support","for","TeX","yet",".","Note","that","it","simply","is","a","path",",","not","an","artist",".","You","need","to","use","the","PathPatch","(","or","other","artists",")","to","draw","this","path","onto","the","canvas",".","xy",":","position","of","the","text",".","s",":","text","size",":","font","size","prop",":","font","property"]
code: def __init__(
      self,
      xy,
      s,
      size=None,
      prop=None,
      _interpolation_steps=1,
      usetex=False,
      *kl,
      **kwargs,
  ):
      """
      Create a path from the text. No support for TeX yet. Note that
      it simply is a path, not an artist. You need to use the
      PathPatch (or other artists) to draw this path onto the
      canvas.
  
      xy : position of the text.
      s : text
      size : font size
      prop : font property
      """
  
      if prop is None:
          prop = FontProperties()
  
      if size is None:
          size = prop.get_size_in_points()
  
      self._xy = xy
      self.set_size(size)
  
      self._cached_vertices = None
  
      self._vertices, self._codes = self.text_get_vertices_codes(
          prop, s, usetex=usetex
      )
  
      self._should_simplify = False
      self._simplify_threshold = rcParams["path.simplify_threshold"]
      self._has_nonfinite = False
      self._interpolation_steps = _interpolation_steps
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  from collections import OrderedDict
  import six
  from six.moves import zip
  import warnings
  import numpy
  from matplotlib.path import Path
  from matplotlib import rcParams
  import matplotlib.font_manager
  from matplotlib.ft2font import KERNING_DEFAULT, LOAD_NO_HINTING
  from matplotlib.ft2font import LOAD_TARGET_LIGHT
  from matplotlib.mathtext import MathTextParser
  import matplotlib.dviread
  from matplotlib.font_manager import FontProperties, get_font
  from matplotlib.transforms import Affine2D
  from six.moves.urllib.parse import quote
label_desc: Use image node_id 1 to create a new TextPath object from inherited base classes: Path with example: obj = TextPath(xy, s, size, prop, _interpolation_steps, usetex)