Skip to content
Snippets Groups Projects
Commit ba80a31e authored by Blaise Li's avatar Blaise Li
Browse files

Fixing seaborn function call.

parent 6ceb7504
Branches
No related tags found
No related merge requests found
......@@ -1341,9 +1341,10 @@ def plot_spikein_response(data, lib):
#sns.regplot("expected_counts", lib, data, ax=axis)
try:
sns.regplot(
"expected_counts", lib,
np.log10(data[["expected_counts", lib]]).replace(
[np.inf, -np.inf], np.nan).dropna(), ax=axis)
data=np.log10(data[["expected_counts", lib]]).replace(
[np.inf, -np.inf], np.nan).dropna(),
x="expected_counts", y=lib,
ax=axis)
axis.set_xlabel("log10(expected count)")
axis.set_ylabel("log10(TPM)")
except ValueError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment