Whether the character of developmental plasticity is adaptive or non-adaptive has often been a matter of controversy. Although thermal developmental plasticity has been studied in Drosophila for several traits, it is not entirely clear how it affects reproductive fitness. We, therefore, investigated how developmental temperature affects reproductive performance (early fecundity and egg-to-adult viability) of wild-caught Drosophila melanogaster. We tested competing hypotheses on the character of developmental thermal plasticity using a full-factorial design with three developmental and adulthood temperatures within the natural thermal range of this species. To account for potential intraspecific differences, we examined flies from tropical (India) and temperate (Slovakia) climate zones. Our results show that flies from both populations raised at an intermediate developmental temperature (25°C) have comparable or higher early fecundity and fertility at all tested adulthood temperatures, while lower (17°C) or higher developmental temperatures (29°C) did not entail any advantage under the tested thermal regimes. Importantly, the superior thermal performance of flies raised at 25°C is apparent even after taking two traits positively associated with reproductive output into account: body size and ovariole number. Thus, in D. melanogaster, development at a given temperature does not necessarily provide any advantage in this thermal environment in terms of reproductive fitness. Our findings strongly support the optimal developmental temperature hypothesis, which states that in different thermal environments, the highest fitness is achieved when an organism is raised at its optimal developmental temperature.

In their natural environments, organisms have to cope with spatiotemporal abiotic and biotic changes. Plastic changes in an organism's characteristics (phenotypic plasticity) are considered key features enabling or facilitating survival in varying environments (Schlichting and Smith, 2002; Murren et al., 2015). Phenotypic plasticity is defined as the ability of a single genotype to produce different phenotypes in response to environmental variations (West-Eberhard, 1989). It encompasses morphological, physiological or behavioural changes, including processes such as acclimation or learning (Schlichting and Smith, 2002; Fusco and Minelli, 2010). Plasticity may be a result of direct or indirect effects of the environment on the development of a given trait (Fusco and Minelli, 2010). In cases of direct effects, plasticity is an inevitable, possibly non-adaptive response to environmental stimuli (e.g. the effect of temperature on growth rate) (Stearns, 1989; Fusco and Minelli, 2010). Such phenotypic plasticity is a consequence of an organism's inability to buffer against the impact of environmental changes on physicochemical reactions (Stearns, 1989). By contrast, indirect environmental effects are cues that induce the development of phenotypes that represent adaptive responses to either given or associated environmental conditions (e.g. photoperiod as a cue for the development of seasonal polyphenism) (reviewed in Fusco and Minelli, 2010). Ghalambor et al. (2007) suggest that in genotypes that have never been exposed to a certain environment, the corresponding part of the reaction norm evolves neutrally (non-adaptive plasticity). However, in the natural range of environments, where the reaction norm has been exposed to selection, this part of the reaction norm is adaptive (Ghalambor et al., 2007). Altogether, the character of plasticity – adaptive versus non-adaptive – is often a matter of controversy (reviewed in Via et al., 1995; Gotthard and Nylin, 1995; Ghalambor et al., 2007).

Temperature is probably the major determinant of the spatiotemporal distribution of ectotherms (Clarke, 2003; Bowler and Terblanche, 2008; Angilletta, 2009). Temperature-induced developmental plasticity has influences on thermal tolerance, developmental rate, adult body size and other aspects of adult physiology (reviewed in Johnston and Wilson, 2006). Several different hypotheses have been proposed to explain the nature of thermal developmental plasticity (reviewed in Huey et al., 1999; Wilson and Franklin, 2002). The beneficial acclimation hypothesis states that development at a given temperature confers a fitness advantage within this thermal environment but is disadvantageous at other temperatures. The optimum developmental temperature hypothesis posits that organisms raised at a certain optimal temperature have greater fitness across numerous thermal environments. The hotter-is-better or the cooler-is-better hypothesis proposes that organisms raised in a warmer or colder environment also have better performance at other temperatures. Finally, according to the developmental buffering hypothesis, developmental temperature does not have any effect on adult thermal performance (reviewed in Huey et al., 1999). Among all these diverse concepts, the beneficial acclimation hypothesis has received by far the most attention (e.g. Gibert et al., 2001; Gilchrist and Huey, 2001; Huey et al., 1995; Nunney and Cheung, 1997; Frazier et al., 2008). However, numerous studies that tested this hypothesis for various traits in different species did not support its general validity (reviewed in Huey et al., 1999). Altogether, this indicates that the nature of developmental thermal plasticity might vary among individual traits and/or among species.

Here, we analysed and tested competing hypotheses on the nature of thermal developmental plasticity in the fruit fly Drosophila melanogaster. Although thermal developmental plasticity has been studied in Drosophila for several traits (e.g. Zwaan et al., 1992; Zamudio et al., 1995; Gibert et al., 2001), the effect of developmental temperature on reproductive fitness has not been systematically investigated. In order to discriminate between opposing hypotheses on thermal developmental plasticity, we employed a full-factorial experimental design (Huey et al., 1999; Wilson and Franklin, 2002). Specifically, we examined the effects of three developmental temperatures (17, 25 and 29°C) on early fecundity and egg-to-adult viability at three adulthood temperatures. The three experimental temperatures are within the natural thermal range of D. melanogaster (Pétavy et al., 1997) and are not considered extreme or pathological (Gibert et al., 2001). Because of a very short lifespan in the natural environment due to high extrinsic mortality (Rosewell and Shorrocks, 1987) and a strong positive correlation between early and lifetime fecundity (Klepsatel et al., 2013b; Nguyen and Moehring, 2015), the early reproductive performance may be considered a good estimator of individual reproductive fitness (Klepsatel et al., 2013b). Moreover, to account for potential intraspecific differences in the nature of temperature-induced developmental plasticity, we used two populations originating from markedly different thermal environments, i.e. from temperate (Slovakia) and tropical (India) climate areas. Finally, we analysed how variations in body size and ovariole number affect the thermal performance of reproduction. These traits are known to be significantly affected by developmental temperature and to have a positive impact on fecundity (e.g. Robertson, 1957; Tantawy and Rakha, 1964; David, 1970; Lefranc and Bundgaard, 2000; Klepsatel et al., 2013b). Based on the aforementioned hypotheses on the nature of thermal developmental plasticity, we expected that under the beneficial acclimation hypothesis, flies that had developed at a given temperature should show the highest fitness at this temperature. In contrast, the finding that development at a distinct (optimal) temperature leads to superior performance at all experimental temperatures would provide strong support for the optimal developmental temperature hypothesis. Alternatively, under the hotter-is-better hypothesis, the highest reproductive performance should be found in flies that had developed at 29°C; under the cooler-is-better hypothesis, the highest fitness should be achieved in flies that had developed at 17°C. Finally, under the developmental buffering hypothesis, we should not be able to detect any significant effect of developmental temperature on reproductive performance. Our experiments showed that flies from both populations that developed at 25°C have comparable or higher reproductive fitness at all tested temperatures. This effect was apparent even after taking differences in body size and ovariole number into account. Taken together, our findings are not consistent with the beneficial acclimation hypothesis, but instead provide solid support for the optimal developmental temperature hypothesis.

Fly populations

Two outbred wild-caught populations of D. melanogaster Meigen were used that originated from (1) Slovakia (Bratislava, 48.21°N, 17.15°E; collected by L' Vidlička in October 2017) and (2) India (Mysore, Karnataka, 12.30°N, 76.64°E; collected by the members of the Drosophila stock centre at the University of Mysore in July 2017). Both populations were established from at least 300 freshly collected females and males that were kept as mass-bred populations at a population size of ∼1500–2000 adults for 3–6 months prior to the experiments. All flies were maintained in vials on a standard Drosophila medium (6 g agar, 50 g yeast, 50 g sucrose, 70 g maize flour, 5.12 ml propionic acid and 1.3 g methyl paraben per 1 litre of medium) at 25°C (12 h:12 h light:dark, 60% humidity) with overlapping generations (generation time ∼3 weeks).

Fecundity and viability

To test the effect of developmental temperature on adult fitness, we used a full-factorial design with three ‘developmental’ and three ‘adulthood’ temperatures (Fig. 1). Two-week-old parental flies (∼100 individuals) laid eggs into vials during a 3 h period; vials with a medium egg density (∼150 eggs per 68 ml vial; any superfluous eggs were removed) were randomly distributed between the 17, 25 and 29°C groups (12 h:12 h light:dark, 60% humidity). Freshly eclosed flies (collected within 12 h of eclosion) from each temperature and each of the two populations were randomly placed into three adulthood temperatures, in order to establish nine different groups for each population. Each group consisted of 20–24 females, which were placed individually with two males (reared at the same temperature as the females) into vials (46 ml) containing a standard Drosophila medium with ca. 10 mg of active dry yeast sprinkled on top of the food. Flies kept at 17°C were transferred every 48 h; flies at 25 and 29°C were transferred every 24 h. The number of eggs laid during this period was counted under a stereomicroscope. Fecundity was measured as the cumulative number of eggs laid by a single female during either the first 10 days (at 25 and 29°C) or 20 days (at 17°C). After counting, vials with eggs laid on the 5th and the 10th day at 25 and 29°C or on the 10th and the 20th day at 17°C were returned to a given adulthood temperature in order to determine the egg-to-adult viability (measured as the proportion of eclosed flies). At the end of the experiment, the thorax length of all females was measured and the number of ovarioles was counted after dissection (see below). Data on females that escaped or died during the experiment were excluded from all analyses.

Fig. 1.

Full factorial experimental design with three developmental and three adulthood temperatures.

Fig. 1.

Full factorial experimental design with three developmental and three adulthood temperatures.

Morphological traits

Thorax length was measured under a Leica M205C stereomicroscope by use of a Leica DFC295 digital camera and Leica application software. Thorax length was measured from the base of the most anterior humeral bristle to the posterior tip of the scutellum on the left side of the fly (French et al., 1998). Ovaries were dissected in tap water and the numbers of ovarioles counted under a stereomicroscope (Zeiss Stemi 2000). Ovariole number is expressed as the sum of ovarioles from both ovaries.

Statistical analysis

We first analysed the effects of population, developmental and adulthood temperature on early fecundity by using full-factorial, multi-way fixed-effects analysis of variance (ANOVA). Next, we analysed the effects of population and developmental temperature on early fecundity at different temperatures using full-factorial, two-way fixed-effects ANOVA. Third, we examined the effect of developmental temperature on early fecundity at different temperatures separately for each population by one-way ANOVA with Tukey's HSD post hoc test. A similar approach was used for analysing viability. To account for variation in thorax length and ovariole number, we analysed early fecundity by analysis of covariance (ANCOVA), with developmental temperature as the fixed factor and thorax length or ovariole number as the covariate, followed by Tukey's HSD post hoc test. These analyses were performed separately for each population and adulthood temperature. Fecundity per body size and fecundity per ovariole for a given population and at a given adulthood temperature were both examined by one-way ANOVA with developmental temperature as the fixed factor, followed by Tukey's HSD post hoc test. All analyses were performed with JMP v.14.1.0 (SAS, Raleigh, NC, USA) and PAST 3.11 (https://folk.uio.no/ohammer/past/) software.

Developmental temperature has a significant effect on early fecundity

Global analysis (multi-way ANOVA) of the influence of three different factors on early fecundity showed that all three variables (population, developmental temperature and adulthood temperature) and three of their interactions (population×adulthood temperature, developmental temperature×adulthood temperature and population×developmental temperature×adulthood temperature) had a significant effect (Table 1). Early fecundity was lowest at 17°C and highest at 25°C. Overall, flies from Slovakia showed higher fecundity than flies from India at all experimental temperatures (Figs 2 and 3).

Table 1.

Multi-way analyses of variance (ANOVA) testing the effects of population, developmental temperature, adulthood temperature and their interactions on early fecundity, egg-to-adult viability at day 10, early fecundity per body size and early fecundity per ovariole

Multi-way analyses of variance (ANOVA) testing the effects of population, developmental temperature, adulthood temperature and their interactions on early fecundity, egg-to-adult viability at day 10, early fecundity per body size and early fecundity per ovariole
Multi-way analyses of variance (ANOVA) testing the effects of population, developmental temperature, adulthood temperature and their interactions on early fecundity, egg-to-adult viability at day 10, early fecundity per body size and early fecundity per ovariole
Fig. 2.

Effect of developmental temperature on early fecundity at three adulthood temperatures. Early fecundity was measured as the cumulative number of eggs laid during the first 10 days after eclosion. Flies from both populations that developed at intermediate temperature (25°C) show early fecundity at all three experimental adulthood temperatures that is equal to or higher than that of cold- or warm-reared flies. Sample size is reported in parentheses. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Box plots display minimum, first quartile, median, third quartile and maximum value. For further statistical analyses, see Table 1 and Tables S1 and S2.

Fig. 2.

Effect of developmental temperature on early fecundity at three adulthood temperatures. Early fecundity was measured as the cumulative number of eggs laid during the first 10 days after eclosion. Flies from both populations that developed at intermediate temperature (25°C) show early fecundity at all three experimental adulthood temperatures that is equal to or higher than that of cold- or warm-reared flies. Sample size is reported in parentheses. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Box plots display minimum, first quartile, median, third quartile and maximum value. For further statistical analyses, see Table 1 and Tables S1 and S2.

Fig. 3.

Mean (±s.e.m.) individual daily fecundity at three adulthood temperatures. Different colours depict cohorts of flies that developed at different temperatures. Sample size (n) is reported in parentheses.

Fig. 3.

Mean (±s.e.m.) individual daily fecundity at three adulthood temperatures. Different colours depict cohorts of flies that developed at different temperatures. Sample size (n) is reported in parentheses.

When examined at the low adulthood temperature (17°C), the two experimental populations differed significantly with regard to the effect of developmental temperature on fecundity (Table S1). In the Indian population, early fecundity (measured over the first 10 days) at 17°C was significantly higher in individuals that had developed at 17 and 25°C than in flies that were reared at 29°C (Figs 2 and 3; Table S2). In contrast, flies from Slovakia that had developed at 25°C showed significantly higher fecundity than flies that had developed at 17 or 29°C (Figs 2 and 3; Table S2). As oogenesis is substantially slower at lower temperatures, we continued measuring individual fecundity at 17°C until day 20 post-eclosion. In contrast to early fecundity measured over the first 10 days, we did not detect any significant intraspecific difference in the effect of developmental temperature on cumulative fecundity measured over the first 20 days (Table S2). In both populations, flies that had developed at 17 or 25°C showed a similar reproductive output, which was higher than that of flies that had developed at 29°C (Fig. S1A, Table S2).

At the intermediate adulthood temperature (25°C), both population and developmental temperature had a significant impact on fecundity; however, there was no significant interaction between population and developmental temperature (Table S1). Individuals that had developed at 25°C laid more eggs at this temperature than flies that had developed at low or high temperatures; however, this effect was statistically significant only in the Indian population (Fig. 2; Table S2).

Population and developmental temperature both also had significant effects on early fecundity at high temperature (29°C) (Table S1). In both populations, the early fecundity examined at 29°C was highest in the flies that had developed at intermediate temperature (25°C) (Figs 2 and 3; Table S2).

Altogether, flies from both populations that had developed at the intermediate temperature (25°C) had an equal or higher early fecundity under all three experimental temperatures when compared with the cold- or warm-reared flies.

Developmental temperature of parents affects egg-to-adult viability

Similar to fecundity, egg-to-adult viability was significantly affected by population, developmental and adulthood temperature, as well as by their interactions (Table 1; Table S3). In general, the viability of the progeny decreased with age and on average also with adulthood temperature (Fig. 4; Table S2). Developmental temperature of the parents had a significant effect on the egg-to-adult viability of flies from India (Fig. 4; Fig. S2). Eggs laid by parents that had developed at 25°C were on average more viable at all three experimental temperatures than eggs laid by females that had developed at 17 or 29°C (Fig. 4; Fig. S2). This effect of parental developmental temperature on egg-to-adult viability was absent or much less pronounced in the fly population from Slovakia when compared with that from India (Fig. 4; Fig. S2).

Fig. 4.

Effect of developmental temperature on egg-to-adult viability. Viability was measured as the number of eggs laid at day 10 after eclosion. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Error bars represent s.e.m. For additional statistical analyses, see Table 1 and Table S3.

Fig. 4.

Effect of developmental temperature on egg-to-adult viability. Viability was measured as the number of eggs laid at day 10 after eclosion. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Error bars represent s.e.m. For additional statistical analyses, see Table 1 and Table S3.

Developmental temperature also affects early fecundity independent of body size

It is a well-known phenomenon that body size of ectotherms decreases with increasing developmental temperature, the so-called temperature–size rule (e.g. Angilletta and Dunham, 2003). The inverse relationship between body size (measured here as thorax length) and developmental temperature was supported by our experimental data (Fig. S3A). Therefore, we additionally analysed our data on fecundity with regard to observed variations in thorax length (Fig. 5). The results of these analyses (ANCOVA) were essentially similar to our previous results on fecundity, i.e. flies from the intermediate developmental temperature (25°C) group showed a thermal reproductive performance that was similar to or higher than that of flies from the lower or higher developmental temperature groups (Tables S4 and S5).

Fig. 5.

The relationship between thorax length and early fecundity is affected by developmental temperature. Early fecundity was measured as for Fig. 2. Each dot represents data from an individual female.

Fig. 5.

The relationship between thorax length and early fecundity is affected by developmental temperature. Early fecundity was measured as for Fig. 2. Each dot represents data from an individual female.

In addition, we examined the effect of developmental temperature on relative fecundity, defined as the number of eggs per unit body size (thorax length3). Consistent with our previous analysis, developmental and adulthood temperature had qualitatively similar effects on the relative as well as on the absolute fecundity (Fig. 6, Table 1; Fig. S1B, Table S2). Overall, these results indicate that the observed changes in the early fecundity of flies that had developed at different temperatures cannot be explained solely by the differences in body size.

Fig. 6.

Effect of developmental temperature on relative fecundity. Relative fecundity was measured as the cumulative number of eggs laid during the first 10 days after eclosion per unit body size (thorax length3). Flies raised at 25°C have on average higher relative fecundity than flies reared at lower or higher temperatures. Sample sizes are the same as reported in Fig. 2. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Box plots display minimum, first quartile, median, third quartile and maximum value. For further statistical analyses, see Table 1 and Table S2.

Fig. 6.

Effect of developmental temperature on relative fecundity. Relative fecundity was measured as the cumulative number of eggs laid during the first 10 days after eclosion per unit body size (thorax length3). Flies raised at 25°C have on average higher relative fecundity than flies reared at lower or higher temperatures. Sample sizes are the same as reported in Fig. 2. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Box plots display minimum, first quartile, median, third quartile and maximum value. For further statistical analyses, see Table 1 and Table S2.

Developmental temperature, ovariole number and early fecundity

Finally, we analysed early fecundity in relation to variations in ovariole number (Fig. 7). Overall, flies from tropical India had on average fewer ovarioles than flies from temperate Slovakia (Fig. S3B); the ovariole number tended to be highest in flies that had developed at 25°C and lowest in flies that had been reared at 29°C (Fig. S3B). Next, we analysed early fecundity with ovariole number as a covariate (ANCOVA) (Table S4) and also examined the fecundity per ovariole (calculated as the number of eggs per ovariole) (Fig. 8, Table 1; Fig. S1C, Table S2). Both analyses yielded qualitatively similar results to the analyses of absolute fecundity, i.e. flies that had developed at the intermediate temperature (25°C) had an equal or higher reproductive performance at the temperatures examined when compared with the cold- or warm-reared flies.

Fig. 7.

The relationship between ovariole number and early fecundity at three adulthood temperatures in flies that developed at different temperatures. Early fecundity was measured as for Fig. 2. Each dot represents data from an individual female.

Fig. 7.

The relationship between ovariole number and early fecundity at three adulthood temperatures in flies that developed at different temperatures. Early fecundity was measured as for Fig. 2. Each dot represents data from an individual female.

Fig. 8.

Effect of developmental temperature on early fecundity per ovariole. Early fecundity was measured as for Fig. 2 and is given per ovariole. Flies from both populations raised at the intermediate temperature (25°C) have comparable or higher fecundity per ovariole compared with the cold- or warm-reared flies. Sample sizes are the same as reported in Fig. 2. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Box plots display minimum, first quartile, median, third quartile and maximum value. For additional statistical analyses, see Table 1 and Table S2.

Fig. 8.

Effect of developmental temperature on early fecundity per ovariole. Early fecundity was measured as for Fig. 2 and is given per ovariole. Flies from both populations raised at the intermediate temperature (25°C) have comparable or higher fecundity per ovariole compared with the cold- or warm-reared flies. Sample sizes are the same as reported in Fig. 2. Data for each population and adulthood temperature were compared by one-way ANOVA followed by Tukey's HSD test (α=0.05). Groups with the same letters are not significantly different from each other. Box plots display minimum, first quartile, median, third quartile and maximum value. For additional statistical analyses, see Table 1 and Table S2.

In the present study, we explored how developmental temperature affects reproductive fitness. By employing a full-factorial design with more than two thermal regimes, this study is the first to systematically investigate the effect of developmental temperature on thermal reproductive performance in insects. Contrary to the developmental acclimation hypothesis, we found that development at a given temperature does not necessarily lead to superior reproductive performance in this thermal environment. Flies raised at the intermediate developmental temperature (25°C) had a similar or higher reproductive fitness in comparison to flies that had developed at lower or higher temperatures. These results strongly support the optimal developmental temperature hypothesis. Although we detected some intraspecific differences in the effect of developmental temperature on early fecundity, a higher reproductive output of flies raised at the intermediate temperature was observed in both populations examined.

Cohet and David (1978) examined early fecundity (the first 10 days after eclosion) and lifetime egg production at 25°C in Drosophila reared at 10 different temperatures ranging from 12 to 32°C. They found that both early and total fecundity were maximised if the females had developed at 21 and 25°C, which is consistent with our results on the flies from India. However, we did not detect any significant differences between the flies from Slovakia that had developed at 17 versus 25°C with regard to early fecundity at 25°C. We assume that this result may reflect potential intraspecific differences. In contrast to our study, Nunney and Cheung (1997) found evidence for adaptive acclimation effects of rearing temperature on early productivity (number of offspring) in Drosophila. These authors used a full-factorial design with two rearing temperatures (18 and 25°C). In their study, early productivity was higher when developmental and adult temperatures were identical (Nunney and Cheung, 1997). The fact that our results are not consistent with this study can be explained by major differences in experimental design. Fecundity shows a peak at 25°C within the first 3–4 days of adulthood (Klepsatel et al., 2013b). However, in the study of Nunney and Cheung (1997), productivity was measured for days 7–17 after eclosion at 18°C and for days 5–12 after eclosion at 25°C. Thus, the very early fecundity/productivity was not taken into account. Another important difference is that, in order to examine the full reproductive potential, we supplemented our experimental food with yeast. Yeasts are a natural source of proteins (Skorupa et al., 2008) and sterols for saprophytic D. melanogaster (Bos et al., 1976); their absence strongly reduces fecundity (Robertson and Sang, 1944). Thus, in our experiments, daily fecundity and productivity were several times higher than in the study by Nunney and Cheung (1997), which may facilitate detection of potential differences in reproductive performance. It is also noteworthy that Gilchrist and Huey (2001) tested the effect of parental temperature on offspring fitness. They found that parents reared at higher temperature produced progeny with higher fitness, independent of their thermal environment. This effect was caused by faster development of the offspring (Gilchrist and Huey, 2001).

Consistent with our results, numerous studies in Drosophila on other traits provide evidence in support of the optimal developmental temperature hypothesis. For example, Zamudio et al. (1995) studied the effect of developmental temperature (18 versus 25°C) on male territorial success at low (18°C) and high temperature (27°C). Despite their smaller body size, males raised at 25°C were more successful at both temperatures than males that had developed at 18°C (Zamudio et al., 1995). Similarly, walking speed of D. melanogaster tested at three different temperatures (18, 25 and 29°C) was generally highest if flies had developed at intermediate temperature and lowest if they had been reared at high temperature, although intraspecific differences were also apparent (Gibert et al., 2001). Finally, Zwaan et al. (1992) examined lifespan in a full-factorial design using three temperatures (20, 25 and 29°C). Males and females reared at the intermediate temperature had the longest lifespan, whereas flies reared at the lowest developmental temperature had the shortest lifespan. However, beneficial developmental plasticity has also been confirmed in Drosophila. For instance, Kristensen et al. (2008) found that flies that had developed at low temperature (15°C) were substantially better at finding a food resource in a cold environment; conversely, flies reared at 25°C were better at finding food at higher temperatures. Frazier et al. (2008) consistently showed that cold-reared flies (at 15°C) had improved flight capability at low temperature (14°C) as a result of increased wing area and wing length. However, at 18°C, flies reared at different temperatures (15, 23, 28°C) had similar flight performance. Overall, these findings suggest that the nature of thermal developmental plasticity is most likely trait specific.

One of the interesting effects of temperature on the majority of examined ectotherms is an inverse relationship between body size and developmental temperature, the so-called temperature–size rule (Atkinson, 1994). Although multiple adaptive and non-adaptive hypotheses explaining this phenomenon have been proposed (e.g. Berrigan and Charnov, 1994; Atkinson and Sibly, 1997; Angilletta and Dunham, 2003; Angilletta et al., 2004; Walters and Hassall, 2006; Arendt, 2011), the answer to the fundamental question of why ectotherms are usually larger in colder environments remains unclear (Klok and Harrison, 2013). In general, a positive relationship between body size and fitness has been documented in many species (reviewed in Chown and Gaston, 2010). Larger body size correlates with higher fecundity in females and higher mating success in males (e.g. Honěk, 1993; Andersson, 1994). Nevertheless, it is still unclear whether the temperature–size rule is an adaptation or an inevitable response driven by physiological constraints (reviewed in Atkinson and Sibly, 1997; Angilletta et al., 2004). In our experiments, the cold-reared flies had – despite their larger body size – either comparable or lower reproductive performance than smaller flies that had developed at 25°C. After correcting for body size, flies from the low developmental temperature group were even less fecund than flies from the intermediate developmental temperature group. This suggests that an increase in body size, as a plastic response to lower developmental temperature, might not primarily be adaptive in relation to early fecundity.

Ovariole number is another trait that has a direct positive effect on fecundity (David, 1970; Klepsatel et al., 2013b). Consistent with the results from previous studies (e.g. Capy et al., 1993; Schmidt et al., 2005; Klepsatel et al., 2014; Rajpurohit et al., 2017), flies from tropical India had on average fewer ovarioles than flies from temperate Slovakia. Although ovariole number is positively correlated with body size, this holds true only for flies that develop at the same temperature (Klepsatel et al., 2013a). Unlike for body size, the optimal developmental temperature for ovariole number in D. melanogaster is 23–24°C, i.e. flies that develop at lower temperatures have fewer ovarioles despite their larger body size (Klepsatel et al., 2013a). Importantly, our analysis showed that the larger cold-reared flies had either similar or lower fecundity per ovariole when compared with flies that had developed at the intermediate temperature. As flies reared at 25°C had more ovarioles than flies that had developed at either 17 or 29°C, the observed differences in their reproductive performance might just reflect the differences in ovariole number. However, even when considering the fecundity per ovariole, flies from India that had developed at the intermediate temperature tended to have higher egg production per ovariole than flies reared at the low or high temperatures. Thus, the differences in ovariole number alone cannot explain the observed differences in reproductive performance.

Woods and Harrison (2002) have argued that a rejection of the beneficial acclimation hypothesis can be a consequence of comparing the performances of organisms that had developed in non-optimal versus optimal environments. Prolonged exposure to non-optimal conditions during development may have a long-lasting detrimental effect which negatively affects adult performance (Woods and Harrison, 2002). Although the three experimental temperatures we have chosen are within the natural thermal range of D. melanogaster (Pétavy et al., 1997), the observation that all flies had reduced fertility at 29°C, probably due to high-temperature-induced male sterility (reviewed in David et al., 2005), indeed suggests that development within this thermal environment is stressful, leading to long-term physiological consequences that reduce fitness (cf. Chakir et al., 2002). Considering development at 17°C, this particular temperature is already outside the natural thermal range of the flies from India. Thus, development at this temperature could be stressful for these flies. However, we did not reveal any substantial qualitative intraspecific differences in the reproductive performance at 17°C that would clearly indicate that the flies from tropical India were more affected by the low developmental temperature than the flies collected in temperate Slovakia, which are most likely well adapted to such low temperatures. Thus, it seems improbable that long-term exposure to 17°C could have been detrimental.

Importantly, the thermal tolerance of adult Drosophila is significantly influenced by developmental temperature (e.g. Gibert and Huey, 2001; Ayrinhac et al., 2004; Overgaard et al., 2008; Colinet and Hoffmann, 2012; Kellermann et al., 2017; Schou et al., 2017a,b). Cold-reared flies are more resistant to cold than are warm-reared flies, which, by contrast, are more tolerant to heat (Schou et al., 2017a). Moreover, this effect of developmental temperature on thermal tolerance may explain the observed differences between flies reared at 17 and 25°C with regard to their reproductive performance at 29°C. Whilst a prolonged exposure to 29°C may not be particularly challenging for the flies reared at the intermediate developmental temperature, flies that had developed at low temperature may in fact be negatively affected by higher temperature, given their presumably lower heat resistance.

In summary, our results on the effect of developmental temperature on reproductive performance and fitness at different temperatures provide strong and solid support for the optimal developmental temperature hypothesis. We assume that the effect of developmental temperature on reproductive performance results from a complex interplay of numerous factors that are determined by the thermal environment during development, such as ovariole number, body size, thermal tolerance or the degree of thermal damage.

We are very thankful to Dr Lucia Mentelová for her generous help. We thank Prof. Ravi Parkash and Dr B. E. Pradeep for obtaining and sending us the wild-caught flies from India, and Dr L'ubomír Vidlička for collecting the flies in Slovakia.

Author contributions

Conceptualization: P.K., M.G.; Methodology: P.K., M.G.; Formal analysis: P.K., T.N.G.; Investigation: P.K.; Writing - original draft: P.K., H.D.; Writing - review & editing: P.K., T.N.G., H.D., M.G.

Funding

This research was funded by the Slovak Research and Development Agency (Agentúra na Podporu Výskumu a Vývoja, APVV-14-0556).

Andersson
,
M.
(
1994
).
Sexual Selection
.
Princeton
,
USA
:
Princeton University Press
.
Angilletta
,
M. J.
(
2009
).
Thermal Adaptation: A Theoretical and Empirical Synthesis
.
Oxford
,
UK
:
Oxford University Press
.
Angilletta
,
M. J.
Jr.
and
Dunham
,
A. E.
(
2003
).
The temperature-size rule in ectotherms: simple evolutionary explanations may not be general
.
Am. Nat.
162
,
332
-
342
.
Angilletta
,
M. J.
,
Steury
,
T. D.
and
Sears
,
M. W.
(
2004
).
Temperature, growth rate, and body size in ectotherms: fitting pieces of a life-history puzzle
.
Integr. Comp. Biol.
44
,
498
-
509
.
Arendt
,
J. D.
(
2011
).
Size-fecundity relationships, growth trajectories, and the temperature-size rule for ectotherms
.
Evolution
65
,
43
-
51
.
Atkinson
,
D.
(
1994
).
Temperature and organism size: a biological law for ectotherms?
Adv. Ecol. Res.
25
,
1
-
58
.
Atkinson
,
D.
and
Sibly
,
R. M.
(
1997
).
Why are organisms usually bigger in colder environments? Making sense of a life history puzzle
.
Trends Ecol. Evol.
12
,
235
-
239
.
Ayrinhac
,
A.
,
Debat
,
V.
,
Gibert
,
P.
,
Kister
,
A.-G.
,
Legout
,
H.
,
Moreteau
,
B.
,
Vergilino
,
R.
and
David
,
J. R.
(
2004
).
Cold adaptation in geographical populations of Drosophila melanogaster: phenotypic plasticity is more important than genetic variability
.
Funct. Ecol.
18
,
700
-
706
.
Berrigan
,
D.
and
Charnov
,
E. L.
(
1994
).
Reaction norms for age and size at maturity in response to temperature: a puzzle for life historians
.
Oikos
70
,
474
-
478
.
Bos
,
M.
,
Burnet
,
B.
,
Farrow
,
R.
and
Woods
,
R. A.
(
1976
).
Development of Drosophila on sterol mutants of the yeast Saccharomyces cerevisiae
.
Genet. Res.
28
,
163
-
176
.
Bowler
,
K.
and
Terblanche
,
J. S.
(
2008
).
Insect thermal tolerance: what is the role of ontogeny, ageing and senescence?
Biol. Rev.
83
,
339
-
355
.
Capy
,
P.
,
Pla
,
E.
and
David
,
J. R.
(
1993
).
Phenotypic and genetic variability of morphometrical traits in natural populations of Drosophila melanogaster and D simulans. I. Geographic variations
.
Genet. Sel. Evol.
25
,
517
.
Chakir
,
M.
,
Chafik
,
A.
,
Moreteau
,
B.
,
Gibert
,
P.
and
David
,
J. R.
(
2002
).
Male sterility thermal thresholds in Drosophila: D.simulans appears more cold-adapted than its sibling D. melanogaster
.
Genetica
114
,
195
-
205
.
Chown
,
S. L.
and
Gaston
,
K. J.
(
2010
).
Body size variation in insects: a macroecological perspective
.
Biol. Rev. Camb. Philos. Soc.
85
,
139
-
169
.
Clarke
,
A.
(
2003
).
Costs and consequences of evolutionary temperature adaptation
.
Trends Ecol. Evol.
18
,
573
-
581
.
Cohet
,
Y.
and
David
,
J.
(
1978
).
Control of the adult reproductive potential by preimaginal thermal conditions: a study in Drosophila melanogaster
.
Oecologia
36
,
295
-
306
.
Colinet
,
H.
and
Hoffmann
,
A. A.
(
2012
).
Comparing phenotypic effects and molecular correlates of developmental, gradual and rapid cold acclimation responses in Drosophila melanogaster
.
Funct. Ecol.
26
,
84
-
93
.
David
,
J. R.
(
1970
).
Le nombre d′ovarioles chez Drosophila melanogaster: relation avec la fécondité et valeur adaptive
.
Arch. Zool. Exp. Gen.
111
,
357
-
370
.
David
,
J. R.
,
Araripe
,
L. O.
,
Chakir
,
M.
,
Legout
,
H.
,
Lemos
,
B.
,
Petavy
,
G.
,
Rohmer
,
C.
,
Joly
,
D.
and
Moreteau
,
B.
(
2005
).
Male sterility at extreme temperatures: a significant but neglected phenomenon for understanding Drosophila climatic adaptations
.
J. Evol. Biol.
18
,
838
-
846
.
Frazier
,
M. R.
,
Harrison
,
J. F.
,
Kirkton
,
S. D.
and
Roberts
,
S. P.
(
2008
).
Cold rearing improves cold-flight performance in Drosophila via changes in wing morphology
.
J. Exp. Biol.
211
,
2116
-
2122
.
French
,
V.
,
Feast
,
M.
and
Partridge
,
L.
(
1998
).
Body size and cell size in Drosophila: the developmental response to temperature
.
J. Insect Physiol.
44
,
1081
-
1089
.
Fusco
,
G.
and
Minelli
,
A.
(
2010
).
Phenotypic plasticity in development and evolution: facts and concepts
.
Philos. T. Roy. Soc. B
365
,
547
-
556
.
Ghalambor
,
C. K.
,
McKay
,
J. K.
,
Carroll
,
S. P.
and
Reznick
,
D. N.
(
2007
).
Adaptive versus non-adaptive phenotypic plasticity and the potential for contemporary adaptation in new environments
.
Funct. Ecol.
21
,
394
-
407
.
Gibert
,
P.
and
Huey
,
R. B.
(
2001
).
Chill-coma temperature in Drosophila: effects of developmental temperature, latitude, and phylogeny
.
Physiol. Biochem. Zool.
74
,
429
-
434
.
Gibert
,
P.
,
Huey
,
R. B.
and
Gilchrist
,
G. W.
(
2001
).
Locomotor performance of Drosophila melanogaster: Interactions among developmental and adult temperatures, age, and geography
.
Evolution
55
,
205
-
209
.
Gilchrist
,
G. W.
and
Huey
,
R. B.
(
2001
).
Parental and developmental temperature effects on the thermal dependence of fitness in Drosophila melanogaster
.
Evolution
55
,
209
-
214
.
Gotthard
,
K.
and
Nylin
,
S.
(
1995
).
Adaptive plasticity and plasticity as an adaptation: a selective review of plasticity in animal morphology and life history
.
Oikos
74
,
3
-
17
.
Honěk
,
A.
(
1993
).
Intraspecific variation in body size and fecundity in insects: a general relationship
.
Oikos
66
,
483
-
492
.
Huey
,
R. B.
,
Wakefield
,
T.
,
Crill
,
W. D.
and
Gilchrist
,
G. W.
(
1995
).
Within- and between-generation effects of temperature on early fecundity of Drosophila melanogaster
.
Heredity
74
,
216
.
Huey
,
R. B.
,
Berrigan
,
D.
,
Gilchrist
,
G. W.
and
Herron
,
J. C.
(
1999
).
Testing the adaptive significance of acclimation: a strong inference approach
.
Am. Zool.
39
,
323
-
336
.
Johnston
,
I. A.
and
Wilson
,
R. S.
(
2006
).
Temperature-induced developmental plasticity in ectotherms
. In
Comparative Developmental Physiology
(ed.
S. J.
Warburton
,
W. W.
Burggren
,
B.
Pelster
,
C. L.
Reiber
and
J.
Spicer
), pp.
124
-
138
.
New York
,
USA
:
Oxford University Press
.
Kellermann
,
V.
,
van Heerwaarden
,
B.
and
Sgrò
,
C. M.
(
2017
).
How important is thermal history? Evidence for lasting effects of developmental temperature on upper thermal limits in Drosophila melanogaster
.
Proc. R. Soc. B Biol. Sci.
284
,
20170447
.
Klepsatel
,
P.
,
Gáliková
,
M.
,
De Maio
,
N.
,
Huber
,
C. D.
,
Schlötterer
,
C.
and
Flatt
,
T.
(
2013a
).
Variation in thermal performance and reaction norms among populations of Drosophila melanogaster
.
Evolution
67
,
3573
-
3587
.
Klepsatel
,
P.
,
Gáliková
,
M.
,
De Maio
,
N.
,
Ricci
,
S.
,
Schlötterer
,
C.
and
Flatt
,
T.
(
2013b
).
Reproductive and post-reproductive life history of wild-caught Drosophila melanogaster under laboratory conditions
.
J. Evol. Biol.
26
,
1508
-
1520
.
Klepsatel
,
P.
,
Gáliková
,
M.
,
Huber
,
C. D.
and
Flatt
,
T.
(
2014
).
Similarities and differences in altitudinal versus latitudinal variation for morphological traits in Drosophila melanogaster
.
Evolution
68
,
1385
-
1398
.
Klok
,
C. J.
and
Harrison
,
J. F.
(
2013
).
The temperature size rule in arthropods: independent of macro-environmental variables but size dependent
.
Integr. Comp. Biol.
53
,
557
-
570
.
Kristensen
,
T. N.
,
Hoffmann
,
A. A.
,
Overgaard
,
J.
,
Sørensen
,
J. G.
,
Hallas
,
R.
and
Loeschcke
,
V.
(
2008
).
Costs and benefits of cold acclimation in field-released Drosophila
.
Proc. Natl. Acad. Sci. USA
105
,
216
-
221
.
Lefranc
,
A.
and
Bundgaard
,
J.
(
2000
).
The influence of male and female body size on copulation duration and fecundity in Drosophila melanogaster
.
Hereditas
132
,
243
-
247
.
Murren
,
C. J.
,
Auld
,
J. R.
,
Callahan
,
H.
,
Ghalambor
,
C. K.
,
Handelsman
,
C. A.
,
Heskel
,
M. A.
,
Kingsolver
,
J. G.
,
Maclean
,
H. J.
,
Masel
,
J.
,
Maughan
,
H.
, et al. 
(
2015
).
Constraints on the evolution of phenotypic plasticity: limits and costs of phenotype and plasticity
.
Heredity (Edinb)
115
,
293
-
301
.
Nguyen
,
T. T. X.
,
Moehring
,
A. J.
(
2015
).
Accurate alternative measurements for female lifetime reproductive success in Drosophila melanogaster
.
PLoS ONE
10
,
e0116679
.
Nunney
,
L.
and
Cheung
,
W.
(
1997
).
The effect of temperature on body size and fecundity in female Drosophila melanogaster: evidence for adaptive plasticity
.
Evolution
51
,
1529
-
1535
.
Overgaard
,
J.
,
Tomčala
,
A.
,
Sørensen
,
J. G.
,
Holmstrup
,
M.
,
Krogh
,
P. H.
,
Šimek
,
P.
and
Koštál
,
V.
(
2008
).
Effects of acclimation temperature on thermal tolerance and membrane phospholipid composition in the fruit fly Drosophila melanogaster
.
J. Insect Physiol.
54
,
619
-
629
.
Pétavy
,
G.
,
Morin
,
J. P.
,
Moreteau
,
B.
and
David
,
J. R.
(
1997
).
Growth temperature and phenotypic plasticity in two Drosophila sibling species: probable adaptive changes in flight capacities
.
J. Evol. Biol.
10
,
875
-
887
.
Rajpurohit
,
S.
,
Zhao
,
X.
and
Schmidt
,
P. S.
(
2017
).
A resource on latitudinal and altitudinal clines of ecologically relevant phenotypes of the Indian Drosophila
.
Sci. Data
4
,
170066
.
Robertson
,
F. W.
(
1957
).
Studies in quantitative inheritance XI. Genetic and environmental correlation between body size and egg production in Drosophila melanogaster
.
J. Genet.
55
,
428
.
Robertson
,
F. W.
and
Sang
,
J. H.
(
1944
).
The ecological determinants of population growth in a Drosophila culture I Fecundity of adult flies
.
Proc. R. Soc. B Biol. Sci.
132
,
258
-
277
.
Rosewell
,
J.
and
Shorrocks
,
B.
(
1987
).
The implication of survival rates in natural populations of Drosophila: capture-recapture experiments on domestic species
.
Biol. J. Linn. Soc.
32
,
373
-
384
.
Schlichting
,
C. D.
and
Smith
,
H.
(
2002
).
Phenotypic plasticity: linking molecular mechanisms with evolutionary outcomes
.
Evol. Ecol.
16
,
189
-
211
.
Schmidt
,
P. S.
,
Matzkin
,
L.
,
Ippolito
,
M.
and
Eanes
,
W. F.
(
2005
).
Geographic variation in diapause incidence, life-history traits, and climatic adaptation in Drosophila melanogaster
.
Evolution
59
,
1721
-
1732
.
Schou
,
M. F.
,
Kristensen
,
T. N.
,
Pedersen
,
A.
,
Karlsson
,
B. G.
,
Loeschcke
,
V.
and
Malmendal
,
A.
(
2017a
).
Metabolic and functional characterization of effects of developmental temperature in Drosophila melanogaster
.
Am. J. Physiol. Regul. Integr. Comp. Physiol.
312
,
R211
-
R222
.
Schou
,
M. F.
,
Mouridsen
,
M. B.
,
Sørensen
,
J. G.
and
Loeschcke
,
V.
(
2017b
).
Linear reaction norms of thermal limits in Drosophila: predictable plasticity in cold but not in heat tolerance
.
Funct. Ecol.
31
,
934
-
945
.
Skorupa
,
D. A.
,
Dervisefendic
,
A.
,
Zwiener
,
J.
and
Pletcher
,
S. D.
(
2008
).
Dietary composition specifies consumption, obesity, and lifespan in Drosophila melanogaster
.
Aging Cell
7
,
478
-
490
.
Stearns
,
S. C.
(
1989
).
The evolutionary significance of phenotypic plasticity: phenotypic sources of variation among organisms can be described by developmental switches and reaction norms
.
Bioscience
39
,
436
-
445
.
Tantawy
,
A. O.
and
Rakha
,
F. A.
(
1964
).
Studies on natural populations of Drosophila. IV. Genetic variances of and correlations between four characters in D. melanogaster and D. simulans
.
Genetics
50
,
1349
-
1355
.
Via
,
S.
,
Gomulkiewicz
,
R.
,
De Jong
,
G.
,
Scheiner
,
S. M.
,
Schlichting
,
C. D.
and
Van Tienderen
,
P. H.
(
1995
).
Adaptive phenotypic plasticity: consensus and controversy
.
Trends Ecol. Evol.
10
,
212
-
217
.
Walters
,
R. J.
and
Hassall
,
M.
(
2006
).
The temperature-size rule in ectotherms: may a general explanation exist after all?
Am. Nat.
167
,
510
-
523
.
West-Eberhard
,
M. J.
(
1989
).
Phenotypic plasticity and the origins of diversity
.
Annu. Rev. Ecol. Syst.
20
,
249
-
278
.
Wilson
,
R. S.
and
Franklin
,
C. E.
(
2002
).
Testing the beneficial acclimation hypothesis
.
Trends Ecol. Evol.
17
,
66
-
70
.
Woods
,
H. A.
and
Harrison
,
J. F.
(
2002
).
Interpreting rejections of the beneficial acclimation hypothesis: when is physiological plasticity adaptive?
Evolution
56
,
1863
-
1866
.
Zamudio
,
K. R.
,
Huey
,
R. B.
and
Crill
,
W. D.
(
1995
).
Bigger isn't always better: body size, developmental and parental temperature and male territorial success in Drosophila melanogaster
.
Anim. Behav.
49
,
671
-
677
.
Zwaan
,
B. J.
,
Bijlsma
,
R.
and
Hoekstra
,
R. F.
(
1992
).
On the developmental theory of ageing. II. The effect of developmental temperature on longevity in relation to adult body size in D. melanogaster
.
Heredity
68
,
123
-
130
.

Competing interests

The authors declare no competing or financial interests.

Supplementary information