[MRG] use keepalive in Legend.AddEntry