re-enabling legend for 1d windows.