pylot

How to change the tables' fontsize with matplotlib.pyplot

How to change the tables' fontsize with matplotlib.pyplot Question: I’m drawing a table with pyplot like this: sub_axes.table(cellText=table_vals, colWidths = [0.15, 0.25], rowLabels=row_labels, loc=’right’) I’d like to change the fontsize of table’s content, and found there is a fontsize property, please ref definition of ‘table’. So it becomes: sub_axes.table(cellText=table_vals, colWidths = [0.15, 0.25], rowLabels=row_labels, fontsize=12, …

Total answers: 2