79653330

Date: 2025-06-04 18:44:13
Score: 2.5
Natty:
Report link

The problem was that label_pos=0.5 makes the two weight labels overlap. Setting it to 0.7 and writing connectionstyle='arc3,rad=0.4' in both nx.draw_networkx_edges() and nx.draw_networkx_edge_labels() fixed the issue.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kale