yr.line_chart
line_chart(
data: object,
x: str | None = None,
y: str | Sequence[str] | None = None,
colour: str | Sequence[str] | None = None,
) → NoneRender a line chart.
Parameters
data
type: object
Chart data; typically a pandas DataFrame.
x
type: str | None = None
Column name to use for the x-axis.
y
type: str | Sequence[str] | None = None
Column name (or names) to plot on the y-axis.
colour
type: str | Sequence[str] | None = None
Column name (or names) used to colour the lines.