3
Я пробовал каждую команду и часть документации, которую я могу найти. Как установить высоту строк здесь.Matplotlib Row height tables property
from pylab import *
# Create a figure
fig1 = figure(1)
ax1_1 = fig1.add_subplot(111)
# Add a table with some numbers....
tab = [[1.0000, 3.14159], [1, 2], [2, 1]]
# Format table numbers as string
tab_2 = [['%.2f' % j for j in i] for i in tab]
y_table = plt.table(cellText=tab_2,colLabels=['Col A','Col B'], colWidths = [.5]*2, loc='center')
y_table.set_fontsize(34)
show()