ENH: improve epochs example