【发布时间】:2016-05-31 19:57:47
【问题描述】:
给定下表:
import matplotlib.pyplot as plt
table=plt.table(cellText=[' ', ' ', ' ', ' ', ' '], # rows of data values
rowLabels=['1','2','3','4','5'],
cellLoc="left",
rowLoc='left',
bbox=[0,0,.2,1], # [left,bottom,width,height]
edges="")
我想将数字 (1-5) 的颜色更改为灰色,并将字体大小更改为 12 磅。
【问题讨论】:
标签: python python-3.x matplotlib