How to change the table's fontsize with matplotlib.pyplot?

后端 未结 2 2080
逝去的感伤
逝去的感伤 2020-11-29 06:51

I\'m drawing a table with pyplot like this:

    sub_axes.table(cellText=table_vals,
          colWidths = [0.15, 0.25],
          rowLabels=row_labels,
              


        
2条回答
  •  [愿得一人]
    2020-11-29 07:36

    Set the auto_set_font_size to False, then set_fontsize(24)

    the_table.auto_set_font_size(False)
    the_table.set_fontsize(24)
    

提交回复
热议问题