FunctionRacerProblemsRace

Dots From a Table

BeginnerseabornPython

seaborn draws straight from a DataFrame: you name the columns instead of passing lists. df has columns height and weight. Draw a scatter plot of weight against height with seaborn. Draw it on a chart made with fig, ax = plt.subplots() by passing ax=ax, and return the figure.

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

Example 1

df {"height":[150,160,170,180],"weight":[50,58,66,80]}
draws
The chart to draw in example 1 of Dots 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