Short answer: in Matplotlib a box plot is drawn with Axes.boxplot. Pass one array for one box, a list of arrays for one box per group, or a 2D array for one box per column. This page is for ...
A scatter plot in Python is drawn with matplotlib.pyplot.scatter or, with grouping built in, seaborn.scatterplot. Both place one point per observation, with one variable on each axis. This guide gives ...