tumourkit.classification.evaluate.abline

tumourkit.classification.evaluate.abline(slope: float, intercept: float, axes: Axes) None

Plot a line on the current axis given a slope and intercept.

Parameters:
  • slope (float) – The slope of the line.

  • intercept (float) – The y-intercept of the line.

  • axes (matplotlib.axes.Axes) – The matplotlib axes object on which to plot the line.