No need for ternary operation in canvas._maybe_group
Merge pull request #1213 from omarkhan/master

Minor quibble: ternary operation in canvas._maybe_group is unnecessary