"The Yellow Wallpaper" can be considered semi-autobiographical because the narrator's experiences with MENTAL ILLNESS and MALE-FEMALE RELATIONSHIPS align with those Perkins Gilman faced.
Charlotte Perkins Gilman suffered postpartum psychosis. She underwent the treatment for "rest cure" as her husband dictated. The character of John was inspired by Charlotte's first husband, Charles Walter Stetson.