diff --git a/code/bolsonaro/visualization/plotter.py b/code/bolsonaro/visualization/plotter.py
index fd990dc7df19d2a86d554a8ee0514a36e37cdf53..354344c24f5481f39334322fb86c91b72dfda146 100644
--- a/code/bolsonaro/visualization/plotter.py
+++ b/code/bolsonaro/visualization/plotter.py
@@ -60,7 +60,7 @@ class Plotter(object):
     def plot_losses(file_path, all_experiment_scores_1, all_experiment_scores_2, x_value, xlabel, ylabel, all_labels, title):
         fig, axes = plt.subplots(nrows=1, ncols=2)
 
-        n = len(len(all_experiment_scores_1))
+        n = len(all_experiment_scores_1)
 
         """
         Get as many different colors from the specified cmap (here nipy_spectral)