Margaret Cavendish did not have any children. There is no record of her ever having been pregnant, and there are no known children who were fathered by her husband, William Cavendish. It is possible that she may have been infertile, or that she may have chosen not to have children.
The Marvelous Mind of Margaret Cavendish:
An Engaging English Quiz on the Duchess of Newcastle-upon-Tyne