Skip to content

Question regarding parameters when creating MatrixPlot or CircosPlot #675

@NiRuff

Description

@NiRuff

When I am creating a MatrixPlot or CircosPlot like this everything works fine:

g = nv.arc(G, node_color_by="community", group_by="community")
annotate.arc_group(G, group_by="community")
g.get_figure().set_size_inches(10,10)

However, I wanted to adjust the edge width and set it by the weight in my weighted graph G.
I trid adding the parameter

edge_lw_by="weight"

But got the following error message:
data_linewidth() missing 1 required positional argument: 'ref_data'

Is this not implemented yet or am I doing something wrong here?

Also:
I would also like to adjust some options regarding opacity for the matrix plot - here I run into similar problems.

Thanks!!

P.S.:
From the code:

  • edge_lw_by: Edge metdata attribute key to set edge line width.
    • edge_alpha_by: Edge metdata attribute key to set edge transparency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions