Commit 755568ef authored by Blaise Li's avatar Blaise Li
Browse files

Missing escape for tex.

parent 1e90b5d7
......@@ -363,7 +363,8 @@ def plot_histo(outfile, data, title=None):
usetex = mpl.rcParams.get("text.usetex", False)
if usetex:
data.columns = [texscape(colname) for colname in data.columns]
title = sub("_", r"\_", title)
#title = sub("_", r"\_", title)
title = texscape(title)
for (read_len, count) in data.iterrows():
plt.bar(
read_len,
......
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