ericmjl / nxviz

Visualization Package for NetworkX
https://ericmjl.github.io/nxviz
MIT License
452 stars 86 forks source link

Module nxviz has no attribute 'annotate' #685

Open aegonwolf opened 2 years ago

aegonwolf commented 2 years ago

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")