check for circular legend definitions. fixes #148
Merge pull request #161 from rmmh/circular_legend

check for circular legend definitions. fixes #148