Skip to content
Snippets Groups Projects

Revised ResourcePrice class and methods. Added tests for problem...

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -153,7 +153,7 @@ def plot_network_layout(network: Network,
(max_linewidth-min_linewidth)*
iteration/(len(list_sorted_dn)-1)
for iteration, _ in enumerate(list_sorted_dn)
] if len(list_sorted_dn) == 1 else [(max_linewidth+min_linewidth)/2]
] if len(list_sorted_dn) != 1 else [(max_linewidth+min_linewidth)/2]
# *************************************************************************
# *************************************************************************
Loading