Skip to content
Snippets Groups Projects
Commit 91bdc848 authored by Akdel's avatar Akdel
Browse files

chain added

parent 822f3db2
No related branches found
No related tags found
No related merge requests found
...@@ -57,7 +57,7 @@ def feature_line(features, alignment): ...@@ -57,7 +57,7 @@ def feature_line(features, alignment):
y_se = np.array([np.nanstd(z[:, x]) / np.sqrt(z.shape[1]) for x in range(z.shape[1])]) y_se = np.array([np.nanstd(z[:, x]) / np.sqrt(z.shape[1]) for x in range(z.shape[1])])
data = [dict(y=list(y + y_se) + list(y - y_se)[::-1], x=list(range(length)) + list(range(length))[::-1], data = [dict(y=list(y + y_se) + list(y - y_se)[::-1], x=list(range(length)) + list(range(length))[::-1],
fillcolor="lightblue", fill="toself", type="scatter", mode="lines", name="Mean +/- standard error", fillcolor="lightred", fill="toself", type="scatter", mode="lines", name="Mean +/- standard error",
line=dict(color='red')), line=dict(color='red')),
dict(y=y, x=np.arange(length), type="scatter", mode="lines", name="Mean", dict(y=y, x=np.arange(length), type="scatter", mode="lines", name="Mean",
line=dict(color='blue'))] line=dict(color='blue'))]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment