산점도 스타일링
이 연습에서는 동영상에서 사용한 아버지와 아들의 키 데이터를 plt.scatter()로 그려 보겠습니다. father_son DataFrame은 미리 로드되어 있습니다. 각 산점도에서 x축은 father_son.fheight, y축은 father_son.sheight로 설정하세요.
이 연습은 강의의 일부입니다
Python으로 지리공간 데이터 시각화하기
실습형 인터랙티브 연습
이 예제를 이 샘플 코드를 완성하여 풀어보세요.
# 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.____()