question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

edge labels in CircosPlot

See original GitHub issue

Hi,

I’m trying to set edge labels in a CircosPlot (see under) via the edgeproperties argument, but I don’t know which matplotlib line property I should use for it. Do you have any idea how this could be done? I’m aware of the fact that this will result in serious overplotting, but I need the information at least temporarily to interpret the CircosPlot. Maybe a legend would be a solution to deal with the eventual overplotting?

c = CircosPlot(G, node_color='prestroke_GDS_T0', node_order='network_group_id', node_grouping='prestroke_GDS_T0', group_label_position='middle', edge_color='color', figsize=(30,30), edgeprops={'facecolor':'None','alpha':0.2,'label':'network_group_id'})

gds_net

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:14 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
landgecommented, Oct 12, 2018

I’ve tried different combinations of figsize and grid row and column numbers. And yes, as you mention it, I think there was one combination were the plots came out bigger in the grid. I can try to reproduce it.

0reactions
landgecommented, Oct 12, 2018

Yes, I think that sounds like a good idea. I would love to help, but I’m not sure if I know enough about the matplotlib internals…

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to use the nxviz.CircosPlot function in nxviz - Snyk
Shows how to rotate node labels. This increaes legibility for longer labels. """ import matplotlib.pyplot as plt import networkx as nx from nxviz...
Read more >
API Documentation — nxviz 0.3 documentation - Read the Docs
Computes the positions of each node's labels on the plot. ... the get_cartesian function to compute the positions of each node label in...
Read more >
How to set edge color in nxviz Arcplot? - python - Stack Overflow
I took the liberty of adding a few more nodes to he graph so nodes in the CircosPlot are a bit smaller (big...
Read more >
Circos Tutorials: Tick Marks, Grids and Labels - Circos
If you want to turn off label overlap check for a given tick mark group, set label_separation=0p. minimum label distance to ideogram edge....
Read more >
Color.edge in network function - Analysis - mixOmics user group
... lwd.edge=2,show.edge.labels=F, color.edge= color.jet(100)) The ne… ... around -0.7 but according to the circos plot all my associations are positive.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found