Skip to content

Module nxviz has no attribute 'annotate' #685

@aegonwolf

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions