在 python 中绘制 table(matplotlib 替代方案)

Plotting table in python (matplotlib alternatives)

在绘制 table 时,是否有 matplotlib 的替代方案?

我发现在 matplotlib 中绘制 tables 非常不方便。很难对一个参数进行微小的更改 - table 大小(比例)、字体大小、单元格内容、列 widths/heights 等。通常需要微调所有其他参数。

有一些选择。您可能想要查看的其中之一是 Plotly。查看其说明如何绘制交互式表格的文档和示例。 https://plotly.com/python/table/