Scatter plots and box plots

The scatter plot (scatter) represents two numeric variables to visualize their relationship, optionally using size or color for a third. The box plot (boxplot) summarizes a distribution by its median, quartiles and extreme values, and lets you compare groups.

Example

ax.scatter(surface, prix, alpha=0.6)
ax.boxplot([a, b])

Related concepts

The whole glossary