问题遇到的现象和发生背景
python 界面设计 插入表格使用matplotlib模块 由于 有的数据太多 显示不全 怎么办
用代码块功能插入代码,请勿粘贴截图

#画表格
self.ax2.cla()
tab=self.ax2.table(
cellText=[[i] for i in y],
#colLabels=['Error Code'],
colLabels=['number'],
rowLabels=x,
rowLoc="center",
loc="center" ,
cellLoc="center"
)
tab.scale(1,2)
self.ax2.axis('off')
self.fig2.draw()
我想要达到的结果
