Rec Letters Decision

Lets say I cheated in a class with a teacher who knows me well and has seen me grow in AP Chem for a couple years in high school. But they are still willing to write me a rec, when asked.
Is it better to have a teacher who has seen my strengths (but now this) vs. a teacher I’ve never talked to but get As anyway?

Also, my advisor knows about this cheating incident too, i would want a rec from my advisor, she says she appreciates me coming clean to her, should i still trust she will write a good rec?