Plotly and categorical data improvements
update plotly tests for API change
Merge pull request #356 from ChrisBeaumont/category

Categorical data enhancements