Personalizzare uno scatterplot
In questo esercizio userai plt.scatter() per tracciare i dati sulle altezze di padre e figlio visti nel video. Il DataFrame father_son è già stato caricato per te. In ogni scatterplot, usa father_son.fheight come asse x e father_son.sheight come asse y.
Questo esercizio fa parte del corso
Visualizzare dati geospaziali in Python
esercizio interattivo pratico
Prova questo esercizio completando questo codice di esempio.
# Import matplotlib.pyplot
import matplotlib.pyplot as ____
# Scatterplot 1 - father heights vs. son heights with darkred square markers
plt.scatter(father_son.fheight, father_son.sheight, ____ = 'darkred', ____ = 's')
# Show your plot
plt.____()