Module nxviz has no attribute 'annotate'
aegonwolf opened this issue · 0 comments
aegonwolf commented
- nxviz version: 0.7.4
- Python version: 3.8
- Operating System: Ubuntu
Description
Trying to follow the new API, frankly few things work.
import nxviz as nv
ax = nv.circos(pass_graph, edge_alpha_by = "weight"
)
nv.annotate.circos_group(pass_graph, group_by="group")
as from the example gives me the error in the title.
I really love the module though.
Edit:
this will work
import nxviz as nv
from nxviz import annotate
ax = nv.circos(pass_graph, edge_alpha_by = "weight"
)
annotate.circos_group(pass_graph, group_by="group")