matplotlib cairo backend, no legend for empty plot