I just found this...
In the Star Trek: The Next Generation episode The Neutral Zone, as Dianna Troi helps a woman from the past search for living family members the computer screen flashes up a family tree with the names William Hartnell, Patrick Troughton, Jon Pertwee, Tom Baker, Peter Davison, Colin Baker
I remember that episode but I didn't notice that at all
Me neither
Think I'll have to do a rewatch to try to spot it - though I'm sure there's a pic out there somewhere!