is a connotation the attittude an author shows toward their subject

Yes, a connotation refers to the emotional or subjective meaning and associations that a word or phrase carries. It can also extend to how an author or speaker may express their attitude or bias towards the subject through the choice of words or phrases with specific connotations.