セクション 3. 章 12
single
Add Information to the Plot
メニューを表示するにはスワイプしてください
タスク
スワイプしてコーディングを開始
-
Using the
.set()function, perform the following:- set the x-axis label (
xlabel) to'GDP per capita'; - set the y-axis label (
ylabel) to'Life expectancy'; - set the plot title (
title) to'GDP per capita vs life expectancy'.
- set the x-axis label (
-
Assign
fig.colorbar()to thecbarvariable. -
Set the colormap legend label to
'HDI'(by applying the.ax.set_xlabel()to thecbar).
解答
すべて明確でしたか?
フィードバックありがとうございます!
セクション 3. 章 12
single
AIに質問する
AIに質問する
何でも質問するか、提案された質問の1つを試してチャットを始めてください