Correction to: Nature https://doi.org/10.1038/s41586-024-07052-5 Published online 17 January 2024

In the version of the article initially published, the coloured lines in Fig. 1b were incorrect and did not show the fit to the data. The original and corrected panel can be seen below in Fig. 1. In addition, the dotted line in panel d representing the most extreme case of low-metallicity, young star-forming galaxy should have been orange, not black. The errors have been corrected in the HTML and PDF versions of the article.

Fig. 1: Original and corrected Fig. 1b
figure 1

.