Line From a Table
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

Constraints
2 <= len(df) <= 30- The days are all different
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More seaborn problems
- Shape of a ColumnBeginner
- Table as ColorsBeginner
- A Line per CityEasy
- Bars by Two KeysEasy
- Colored by GroupEasy
- Every Point in Its LaneEasy
- Long Names SidewaysEasy
- Numbers in the CellsEasy