Plotly.js: Multiple groupby transforms ignores the second and unsets trace names

Created on 29 May 2017  路  4Comments  路  Source: plotly/plotly.js

See: https://codepen.io/rsreusser/pen/QvXWWE?editors=0010

Either groupby independently produces the expected result, but both groupby transforms seems to only have the effect of unsetting the group name. Perhaps multiple groupby transforms should be explicitly forbidden and the second one ignored. It seems logically trivial to merge all groupby transforms but not straightforward to merge the style options, and the fact that it's not really meaningful to separate them means maybe it should just be explicitly forbidden.

bug

Most helpful comment

馃憤 "Explicitly forbidden" option from me - we never had a chained groupby use case in WS1 as far as I can recall.

All 4 comments

馃憤 "Explicitly forbidden" option from me - we never had a chained groupby use case in WS1 as far as I can recall.

Thanks for pointing this out @rreusser !

Cool. I can work through this since I'm already in the groupby code. Is the right answer then to set every groupby after the first enabled groupby to enabled: false?

Is the right answer then to set every groupby after the first enabled groupby to enabled: false?

Yeah, that works.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jonmmease picture jonmmease  路  3Comments

boleslawmaliszewski picture boleslawmaliszewski  路  3Comments

danielsamuels picture danielsamuels  路  3Comments

nicolaskruchten picture nicolaskruchten  路  3Comments

bryaan picture bryaan  路  3Comments