Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
X-Lap
Commits
fe302564
Commit
fe302564
authored
Apr 20, 2018
by
Andreas Schmidt
Browse files
More colors and symbols for multi correlation.
parent
a96c866f
Changes
1
Hide whitespace changes
Inline
Side-by-side
xlap/analyse/correlation.py
View file @
fe302564
...
...
@@ -17,8 +17,8 @@ def corr_multi(dfs, duration, **kwargs):
for
df
in
dfs
:
names
.
append
(
df
.
name
)
colors
=
[
"green"
,
"blue"
,
"orange"
]
markers
=
[
"v"
,
"^"
,
">"
,
"<"
]
colors
=
[
"green"
,
"blue"
,
"orange"
,
"purple"
,
"red"
,
"pink"
]
markers
=
[
"v"
,
"^"
,
">"
,
"<"
,
"+"
]
for
idf
,
df
in
enumerate
(
dfs
):
corr
(
df
,
duration
,
color
=
colors
[
idf
%
len
(
colors
)],
marker
=
markers
[
idf
%
len
(
markers
)],
**
kwargs
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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