a first take on a persistent legend
a bit more, now for a test on a pi with real data