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
Lucas Miranda
deepOF
Commits
e38ac8e8
Commit
e38ac8e8
authored
Sep 17, 2020
by
lucas_miranda
Browse files
Reformatted files
parent
b975d989
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/test_preprocess.py
View file @
e38ac8e8
...
...
@@ -210,7 +210,9 @@ def test_get_table_dicts(nodes, ego, sampler):
if
table
.
_type
==
"coords"
and
algn
==
"Nose"
and
polar
is
False
and
speed
==
0
:
assert
type
(
table
.
plot_heatmaps
(
bodyparts
=
[
"Spine_1"
]))
==
matplotlib
.
figure
.
Figure
assert
(
type
(
table
.
plot_heatmaps
(
bodyparts
=
[
"Spine_1"
]))
==
matplotlib
.
figure
.
Figure
)
align
=
sampler
.
draw
(
st
.
one_of
(
st
.
just
(
False
),
st
.
just
(
"all"
),
st
.
just
(
"center"
))
...
...
tests/test_visuals.py
View file @
e38ac8e8
...
...
@@ -36,11 +36,7 @@ def test_plot_heatmap(bparts):
assert
(
type
(
deepof
.
visuals
.
plot_heatmap
(
prun
[
"test"
],
bparts
,
tuple
([
-
100
,
100
]),
tuple
([
-
100
,
100
]),
dpi
=
200
,
prun
[
"test"
],
bparts
,
tuple
([
-
100
,
100
]),
tuple
([
-
100
,
100
]),
dpi
=
200
,
)
)
==
matplotlib
.
figure
.
Figure
...
...
Write
Preview
Markdown
is supported
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