fixed plot resize