Hide histogram legend when percentiles are gone