Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Blaise LI
libhts
Commits
755568ef
Commit
755568ef
authored
Jun 01, 2018
by
Blaise Li
Browse files
Missing escape for tex.
parent
1e90b5d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
libhts/libhts.py
View file @
755568ef
...
...
@@ -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
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment