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
d451a2a5
Commit
d451a2a5
authored
Nov 03, 2017
by
Blaise Li
Browse files
Trying to have more readable boxplots.
parent
f5991cb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
libhts/libhts.py
View file @
d451a2a5
...
...
@@ -284,10 +284,13 @@ def plot_counts_distribution(data, xlabel):
def
plot_boxplots
(
data
,
ylabel
):
ax
=
data
.
plot
.
box
()
fig
=
plt
.
figure
(
figsize
=
(
6
,
12
))
ax
=
fig
.
add_subplot
(
111
)
data
.
plot
.
box
(
ax
=
ax
)
ax
.
set_ylabel
(
ylabel
)
for
label
in
ax
.
get_xticklabels
():
label
.
set_rotation
(
90
)
plt
.
tight_layout
()
# Cutoffs in log fold change
...
...
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