尽管 'closest' python igraph 中的布局图还有哪些其他选项?
Despite 'closest' what other options are there for layout plot in igraph in python?
我详尽地查看了文档,但在 python 中使用布局时,除了 'closest' 的 hovermode= 选项外,我没有找到其他选项。有帮助吗?
我的画图功能是这样的:传一个图(igraph.Graph())
import igraph
def drawing_group(g, name='a'):
layout = g.layout("fr")
visual_style = {}
visual_style["margin"] = 100
visual_style['hovermode'] = 'closest'
igraph.plot(g, 'g_%s.png' % (str(num) + name), **visual_style)
谢谢
这里有几点:
您的问题似乎是希尔公式化的。悬停模式存在
在 plotly
而不是 igragh
本身生成的交互式图中。
plotly
有 hovermode
可以是 "x"、"y"、"closest" 或
假的。
参考文献:
https://plot.ly/python/3d-network-graph/
https://plot.ly/r/reference/#layout-scene-hovermode
我详尽地查看了文档,但在 python 中使用布局时,除了 'closest' 的 hovermode= 选项外,我没有找到其他选项。有帮助吗?
我的画图功能是这样的:传一个图(igraph.Graph())
import igraph
def drawing_group(g, name='a'):
layout = g.layout("fr")
visual_style = {}
visual_style["margin"] = 100
visual_style['hovermode'] = 'closest'
igraph.plot(g, 'g_%s.png' % (str(num) + name), **visual_style)
谢谢
这里有几点:
您的问题似乎是希尔公式化的。悬停模式存在 在
plotly
而不是igragh
本身生成的交互式图中。plotly
有hovermode
可以是 "x"、"y"、"closest" 或 假的。
参考文献:
https://plot.ly/python/3d-network-graph/
https://plot.ly/r/reference/#layout-scene-hovermode