Dots With Margins
df has columns height and weight. Use seaborn's jointplot with its default settings to draw weight against height as a scatter plot with a histogram of each column along the matching edge: height above the chart and weight at its right. The function returns a grid object, not a chart: return its figure.
Checked: the points and the bars.
Example 1
df {"height":[150,160,170,180,165],"weight":[50,58,66,80,60]}
draws

Constraints
5 <= len(df) <= 40- Neither column is constant
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More seaborn problems
- Every Pair of ColumnsHard
- Months and YearsHard
- A Title for the ChartBeginner
- Average per TeamBeginner
- Boxes per TeamBeginner
- Dots From a TableBeginner
- How Many of EachBeginner
- Line From a TableBeginner