a, Protocol of Experiment 3. Red timeline represents the age of larvae expressed in days post fertilization (dpf). b, Whole-brain 5-HT concentration of postmetamorphic zebrafish in resting conditions, and immediately and 1.5 h after LDT challenge. *Significant differences between groups at the level of a single condition (basal level or LDT or LDT + 1.5 h). #Significant group × condition interaction. c, Minute-by-minute resolution analysis of avoidance measured by choice index. d, Velocity. #Significant group × condition interaction. LDT: light/dark tank.