FunctionRacerProblemsRace

Shape of a Column

BeginnerseabornPython

df has a column age. Draw a histogram of it with bins bins, with seaborn. Draw it on a chart made with fig, ax = plt.subplots() by passing ax=ax, and return the figure.

Checked: the bars and the x label.

Example 1

df {"age":[21,22,22,35,35,35,60]}
bins 3
draws
The chart to draw in example 1 of Shape of a Column

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