When more colours are needed then available from the colour scheme, the default behaviour should be to cycle through the colours and start at the beginning of the scheme again with the first colour out of bounds.
This behaviour may be change to the current behaviour giving an BoundsError with a keyword flag.
Definition of Done
[x] All ACs fulfilled
[x] Feature tested
[ ] Related feature branch(es) merged and deleted
[ ] Documentation updated
Acceptance Criteria
[x] Add kwarg to hbar and figure to cycle through colours, when out of bounds
[x] Default behaviour is to start from the beginning, when reaching the end of the colour scheme
[x] Switching of the flag leads to the current behaviour with a BoundsError
Description
When more colours are needed then available from the colour scheme, the default behaviour should be to cycle through the colours and start at the beginning of the scheme again with the first colour out of bounds.
This behaviour may be change to the current behaviour giving an
BoundsError
with a keyword flag.Definition of Done
Acceptance Criteria
hbar
andfigure
to cycle through colours, when out of boundsBoundsError