Unverified Commit d2aa29f1 authored by Neal Wu's avatar Neal Wu Committed by GitHub
Browse files

Merge pull request #3232 from cclauss/patch-3

Use r-string to avoid raising Python 3 SyntaxError
parents b48233ad b36bc06e
...@@ -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',
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment