class_docstr: Plot functions for numeric x & y axes:
  
  Methods:
      - line
      - scatter
      - text
      - area
class_docstr_tok: ["Plot","functions","for","numeric","x","&","y","axes",":","Methods",":","-","line","-","scatter","-","text","-","area"]
docstr: Text plot.
  
  Args:
      data_frame (pandas.DataFrame): Data source for the plot.
      x_column (str): Column name to plot on the x axis.
      y_column (str): Column name to plot on the y axis.
      text_column (str): Column name to plot as text labels.
      color_column (str, optional): Column name to group by on the
          color dimension.
      color_order (list, optional): List of values within the
          'color_column' for specific sorting of the colors.
      font_size (str, optional): Size of text.
      x_offset (int, optional): # of pixels for horizontal text offset.
          Can be negative. Default: 0.
      y_offset (int, optional): # of pixels for vertical text offset.
          Can be negative. Default: 0.
      angle (int): Degrees from horizontal for text rotation.
      text_color (str): Color name or hex value.
          See chartify.color_palettes.show() for available color names.
          If omitted, will default to the next color in the
          current color palette.
docstr_tok: ["Text","plot",".","Args",":","data_frame","(","pandas.DataFrame",")",":","Data","source","for","the","plot",".","x_column","(","str",")",":","Column","name","to","plot","on","the","x","axis",".","y_column","(","str",")",":","Column","name","to","plot","on","the","y","axis",".","text_column","(","str",")",":","Column","name","to","plot","as","text","labels",".","color_column","(","str",",","optional",")",":","Column","name","to","group","by","on","the","color","dimension",".","color_order","(","list",",","optional",")",":","List","of","values","within","the","'color_column","'","for","specific","sorting","of","the","colors",".","font_size","(","str",",","optional",")",":","Size","of","text",".","x_offset","(","int",",","optional",")",":","#","of","pixels","for","horizontal","text","offset",".","Can","be","negative",".","Default",":","0.","y_offset","(","int",",","optional",")",":","#","of","pixels","for","vertical","text","offset",".","Can","be","negative",".","Default",":","0.","angle","(","int",")",":","Degrees","from","horizontal","for","text","rotation",".","text_color","(","str",")",":","Color","name","or","hex","value",".","See","chartify.color_palettes.show","(",")","for","available","color","names",".","If","omitted",",","will","default","to","the","next","color","in","the","current","color","palette","."]
code: def text(
      self,
      data_frame,
      x_column,
      y_column,
      text_column,
      color_column=None,
      color_order=None,
      font_size="1em",
      x_offset=0,
      y_offset=0,
      angle=0,
      text_color=None,
  ):
      """Text plot.
  
      Args:
          data_frame (pandas.DataFrame): Data source for the plot.
          x_column (str): Column name to plot on the x axis.
          y_column (str): Column name to plot on the y axis.
          text_column (str): Column name to plot as text labels.
          color_column (str, optional): Column name to group by on the
              color dimension.
          color_order (list, optional): List of values within the
              'color_column' for specific sorting of the colors.
          font_size (str, optional): Size of text.
          x_offset (int, optional): # of pixels for horizontal text offset.
              Can be negative. Default: 0.
          y_offset (int, optional): # of pixels for vertical text offset.
              Can be negative. Default: 0.
          angle (int): Degrees from horizontal for text rotation.
          text_color (str): Color name or hex value.
              See chartify.color_palettes.show() for available color names.
              If omitted, will default to the next color in the
              current color palette.
      """
      text_font = self._chart.style._get_settings(
          "text_callout_and_plot"
      )["font"]
      if text_color:
          text_color = Color(text_color).get_hex_l()
          colors, color_values = [text_color], [None]
      else:
          colors, color_values = self._get_color_and_order(
              data_frame, color_column, color_order
          )
  
      self._set_numeric_axis_default_format(
          data_frame, x_column, y_column
      )
  
      for color_value, color in zip(color_values, colors):
          if color_column is None:  # Single series
              sliced_data = data_frame
          else:
              sliced_data = data_frame[
                  data_frame[color_column] == color_value
              ]
          # Filter to only relevant columns.
          sliced_data = sliced_data[
              [
                  col
                  for col in sliced_data.columns
                  if col
                  in (x_column, y_column, text_column, color_column)
              ]
          ]
          cast_data = self._cast_datetime_axis(sliced_data, x_column)
  
          source = self._named_column_data_source(
              cast_data, series_name=color_value
          )
  
          self._chart.figure.text(
              text=text_column,
              x=x_column,
              y=y_column,
              text_font_size=font_size,
              source=source,
              text_color=color,
              y_offset=y_offset,
              x_offset=x_offset,
              angle=angle,
              angle_units="deg",
              text_font=text_font,
              y_range_name=self._y_range_name,
          )
      return self._chart
  
imports: import bokeh
  import pandas
  import numpy
  from chartify._core.colors import Color, color_palettes
  from chartify._core.axes import NumericalYMixin, NumericalXMixin
  from scipy.stats import gaussian_kde
label_desc: Use image node_id 3 for calling the PlotNumericXY obj's underlying member method code with example usage: obj.text(data_frame, x_column, y_column, text_column, color_column, color_order, font_size, x_offset, y_offset, angle, text_color) and returns: self