Hide empty legend.