Bug fix for legends (fixes previous commit). legendsize now available.