The onion cooks with the tomatoes and butter and releases just enough onion flavor during the cooking process. If you leave it in (which you can do - you be you!) your sauce will naturally have a little more onion flavor to it.