FunctionRacerProblemsRace

Line From a Table

BeginnerseabornPython

df has columns day and sales, one row per day. Draw sales against day as a line with seaborn. Draw it on a chart made with fig, ax = plt.subplots() by passing ax=ax, and return the figure.

Checked: the lines, the x label and the y label.

Example 1

df {"day":[1,2,3,4],"sales":[10,12,9,15]}
draws
The chart to draw in example 1 of Line From a Table

Constraints

Race itor take your time

Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.

More seaborn problems