hide empty legend if one of the 2 legends is empty

hides "no legend" text and lets other legend take up whole legend space
to minimize text wrapping