Recursively draw children in legend to show dots mpld3 issue #48

Fix for https://github.com/jakevdp/mpld3/issues/48

I'm not sure dir() is the best way to figure out which objects have children, but this does seem to work.