單項選擇題若要在Matplotlib的圖表中添加圖例,應(yīng)使用以下哪個函數(shù)?()

A.plt.legend()
B.pltxlabel()
C.plt.ylabel()
D.plt.title()


您可能感興趣的試卷

你可能感興趣的試題

1.單項選擇題在Pandas中,使用()函數(shù)可以對DataFrame的索引進(jìn)行排序。

A.sort()
B.order()
C.sort_values()
D.sort_index()

2.單項選擇題下列哪個函數(shù)在Pandas中用于刪除缺失值?()

A.dropna()
B.fillna()
C.isnan()
D.isnull()

3.單項選擇題下列哪個數(shù)據(jù)類型通常不被視為維度?()

A.布爾型數(shù)據(jù)
B.日期和時間數(shù)據(jù)
C.浮點數(shù)數(shù)據(jù)
D.分類數(shù)據(jù)