visualize.py 文件源码

python
阅读 25 收藏 0 点赞 0 评论 0

项目:githubgraph 作者: 0x0FFF 项目源码 文件源码
def draw_glowing_nodes(self, size):
        for i in range(self.glow_iter):
            glowsize = [ x + (6.0 * x * (i + 1) / self.glow_iter) for x in size]
            nx.draw_networkx_nodes(self.g, self.pos, alpha=0.025, cmap='gist_rainbow',
                                   node_color=self.colors, node_size=glowsize, linewidths=0)
        nx.draw_networkx_nodes(self.g, self.pos, alpha=1.0, cmap='gist_rainbow',
                               node_color=self.colors, node_size=size, linewidths=0)
        return
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号