单选题

在使用 matplotlib 库绘制图形时,如何设置x轴和y轴的标签? (    )

A

plt.title()和 plt.legend()

B

plt.set_xlabel()和 plt.set_ylabel()

C

plt.xlabel()和 plt.ylabel()

D

plt.xticks()和 plt.yticks()

赣ICP备20007335号-2