📜  箱线图标签python代码示例

📅  最后修改于: 2022-03-11 14:47:20.199000             🧑  作者: Mango

代码示例1
import matplotlib.pyplot as plt

# figure related code
fig = plt.figure()
fig.suptitle('bold figure suptitle', fontsize=14, fontweight='bold')

ax = fig.add_subplot(111)
ax.boxplot(data)

ax.set_title('axes title')
ax.set_xlabel('xlabel')
ax.set_ylabel('ylabel')

plt.show()