music.print_peal¶
- music.print_peal(peal, hunts=(0, 1))[source]¶
Prints a peal with colored numbers. Hunts have also colored background.
- Parameters:
Notes
There are eight colours, so from the ninth bell on they repeat. A ninth bell used to raise an
IndexErrorinstead.Examples
>>> peal = PlainChanges(4) >>> print_peal(peal.peal_direct[:2], hunts=(0, 1)) 0123 1023