Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Module nxviz has no attribute 'annotate' #685

Open
aegonwolf opened this issue May 11, 2022 · 0 comments
Open

Module nxviz has no attribute 'annotate' #685

aegonwolf opened this issue May 11, 2022 · 0 comments

Comments

@aegonwolf
Copy link

aegonwolf commented May 11, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant