Commit 73041153 authored by Blaise Li's avatar Blaise Li
Browse files

Adjusting tex-escaping of underscores.

parent bfddf72c
......@@ -670,7 +670,7 @@ def plot_scatterplot(outfile, data, data_groups, group2colour):
plt.scatter(
data[data_groups==i, 0],
data[data_groups==i, 1],
color=colour, lw=2, label=group)
color=colour, lw=2, label=texscape(group))
plt.xlabel("PC1")
plt.ylabel("PC2")
plt.legend(loc="best", shadow=False, scatterpoints=1)
......@@ -1262,11 +1262,10 @@ rule make_MA_plot:
group2colour=group2colour,
lfc_range = params.lfc_range,
fold_type = "log2FoldChange",
title=texscape(
"MA-plot for %s, %s_%s" % (
wildcards.contrast,
wildcards.orientation,
wildcards.biotype)))
title="MA-plot for %s, %s_%s" % (
wildcards.contrast,
wildcards.orientation,
wildcards.biotype))
##################
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment