Skip to content

Commit f8db124

Browse files
committed
Fixed bug in graph_plots module.
1 parent d83d626 commit f8db124

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

workflow/rules/evaluation/graph_plots/adjmat_diffplot.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,9 @@
4444
wrapped = [line[i:i+25] for i in range(0, len(line), 25)]
4545
wrapped_lines.extend(wrapped)
4646
wrapped_alg_string = "\n".join(wrapped_lines)
47-
type = snakemake.params["graph_type"]
48-
ylabel_text = f"Algorithm:\n\n{wrapped_alg_string}\n\nGraph type: {type}"
47+
#type = snakemake.params["graph_type"]
48+
#ylabel_text = f"Algorithm:\n\n{wrapped_alg_string}\n\nGraph type: {type}"
49+
ylabel_text = f"Algorithm:\n\n{wrapped_alg_string}"
4950
plt.ylabel(ylabel_text, rotation="horizontal",
5051
fontsize=6, ha="right", va="center")
5152
plt.tight_layout()

workflow/rules/evaluation/graph_plots/plot_matrix_as_heatmap.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
wrapped = [line[i:i+25] for i in range(0, len(line), 25)]
3232
wrapped_lines.extend(wrapped)
3333
wrapped_alg_string = "\n".join(wrapped_lines)
34-
type = snakemake.params["graph_type"]
35-
ylabel_text = f"Algorithm:\n\n{wrapped_alg_string}\n\nGraph type: {type}"
34+
#type = snakemake.params["graph_type"]
35+
#ylabel_text = f"Algorithm:\n\n{wrapped_alg_string}\n\nGraph type: {type}"
36+
ylabel_text = f"Algorithm:\n\n{wrapped_alg_string}"
3637
plt.ylabel(ylabel_text, rotation="horizontal",
3738
fontsize=6, ha="right", va="center")
3839
plt.tight_layout()

0 commit comments

Comments
 (0)