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: Line Chart.
  
  Note:
      This method will not automatically sort the x-axis.
      Try sorting the axis if the line graph looks strange.
  
  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.
      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.
      line_dash (str, optional): Dash style for the line. One of:
          - 'solid'
          - 'dashed'
          - 'dotted'
          - 'dotdash'
          - 'dashdot'
      line_width (int, optional): Width of the line
      alpha (float): Alpha value.
docstr_tok: ["Line","Chart",".","Note",":","This","method","will","not","automatically","sort","the","x-axis",".","Try","sorting","the","axis","if","the","line","graph","looks","strange",".","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",".","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",".","line_dash","(","str",",","optional",")",":","Dash","style","for","the","line",".","One","of",":","-","'solid'","-","'dashed'","-","'dotted'","-","'dotdash'","-","'dashdot'","line_width","(","int",",","optional",")",":","Width","of","the","line","alpha","(","float",")",":","Alpha","value","."]
code: def line(
      self,
      data_frame,
      x_column,
      y_column,
      color_column=None,
      color_order=None,
      line_dash="solid",
      line_width=4,
      alpha=1.0,
  ):
      """Line Chart.
  
      Note:
          This method will not automatically sort the x-axis.
          Try sorting the axis if the line graph looks strange.
  
      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.
          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.
          line_dash (str, optional): Dash style for the line. One of:
              - 'solid'
              - 'dashed'
              - 'dotted'
              - 'dotdash'
              - 'dashdot'
          line_width (int, optional): Width of the line
          alpha (float): Alpha value.
      """
      settings = self._chart.style._get_settings("line_plot")
      line_cap = settings["line_cap"]
      line_join = settings["line_join"]
  
      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 line
              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, color_column)
              ]
          ]
  
          cast_data = self._cast_datetime_axis(sliced_data, x_column)
  
          source = self._named_column_data_source(
              cast_data, series_name=color_value
          )
  
          color_value = (
              str(color_value)
              if color_value is not None
              else color_value
          )
  
          self._plot_with_legend(
              self._chart.figure.line,
              legend_label=color_value,
              x=x_column,
              y=y_column,
              source=source,
              line_width=line_width,
              color=color,
              line_join=line_join,
              line_cap=line_cap,
              line_dash=line_dash,
              alpha=alpha,
              y_range_name=self._y_range_name,
          )
  
      # Set legend defaults if there are multiple series.
      if color_column is not None:
          self._chart.style._apply_settings("legend")
  
      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 1 for calling the PlotNumericXY obj's underlying member method code with example usage: obj.line(data_frame, x_column, y_column, color_column, color_order, line_dash, line_width, alpha) and returns: self