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

hashimmoosavi picture hashimmoosavi  路  3Comments

emanuelsetitinger picture emanuelsetitinger  路  3Comments

tim-sauchuk picture tim-sauchuk  路  3Comments

deecay picture deecay  路  3Comments

pynklu picture pynklu  路  3Comments