fix legend size on plots