【发布时间】:2018-05-27 01:28:18
【问题描述】:
在 Python 中打印图表最简单的方法是什么?即我想可视化图形的最大集团。
我目前的数据结构是:
adjacency_matrix = [[False, True, False, ...],
[True, False, True, ...],
..]
adjacency_set = [[45, 2], [1, 32], ...]
max_clique = [23, 143, 1, 2, 42, 12, 3, ...] # the vertices in the max clique
我会使用 matplotlib 来做到这一点吗?
【问题讨论】:
标签: python matplotlib graph-theory