Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
d2aa29f1
Unverified
Commit
d2aa29f1
authored
Jan 23, 2018
by
Neal Wu
Committed by
GitHub
Jan 23, 2018
Browse files
Merge pull request #3232 from cclauss/patch-3
Use r-string to avoid raising Python 3 SyntaxError
parents
b48233ad
b36bc06e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/cognitive_mapping_and_planning/scripts/script_plot_trajectory.py
...ve_mapping_and_planning/scripts/script_plot_trajectory.py
+1
-1
No files found.
research/cognitive_mapping_and_planning/scripts/script_plot_trajectory.py
View file @
d2aa29f1
...
@@ -220,7 +220,7 @@ def plot_trajectory_first_person(dt, orig_maps, out_dir):
...
@@ -220,7 +220,7 @@ def plot_trajectory_first_person(dt, orig_maps, out_dir):
t
.
set_bbox
(
dict
(
color
=
'white'
,
alpha
=
0.85
,
pad
=-
0.1
))
t
.
set_bbox
(
dict
(
color
=
'white'
,
alpha
=
0.85
,
pad
=-
0.1
))
# Action to take.
# Action to take.
action_latex
=
[
'$\odot$ '
,
'$\curvearrowright$ '
,
'$\curvearrowleft$ '
,
'$\Uparrow$ '
]
action_latex
=
[
'$\odot$ '
,
'$\curvearrowright$ '
,
'$\curvearrowleft$ '
,
r
'$\Uparrow$ '
]
t
=
ax
.
text
(
0.99
,
0.99
,
action_latex
[
actions
[
step_number
]],
t
=
ax
.
text
(
0.99
,
0.99
,
action_latex
[
actions
[
step_number
]],
horizontalalignment
=
'right'
,
horizontalalignment
=
'right'
,
verticalalignment
=
'top'
,
verticalalignment
=
'top'
,
...
...
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