Commit c2f8d44f authored by amichaut's avatar amichaut
Browse files

minor bug fix in plot_total_traj

parent 9ef206e3
......@@ -18,7 +18,7 @@
# -- Project information -----------------------------------------------------
project = 'Track Analyzer'
copyright = '2021, Arthur Michaut'
copyright = '2022, Arthur Michaut'
author = 'Arthur Michaut'
# The full version, including alpha/beta/rc tags
......
......@@ -1457,7 +1457,7 @@ def plot_total_traj(data_dir, df, dim=3, plot_dir=None, plot_fn=None, plot_confi
# color code
label = None
if color_code == "random":
colors = color_list[i % len(color_list)]
colors = color_list[track % len(color_list)]
elif color_code == "none":
colors = color_list[0]
elif color_code == "group":
......
Supports Markdown
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