Does removal of the uterus affect ovulation?

No, unless. Not unless the ovaries are removed as well. The ovaries mostly don't know (or care) if the uterus is in place or not.