Skip to content

make offsetgroup work with barmode 'stacked' and 'relative' for bar traces #7247

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 23 commits into from
Closed

make offsetgroup work with barmode 'stacked' and 'relative' for bar traces #7247

wants to merge 23 commits into from

Conversation

stephprobst
Copy link

Continuation of PR #7009 due to temporary unavailability of original author.

Last changes:

  • Rebased PR on master.

my-tien and others added 23 commits October 22, 2024 16:17
barpolar trace has no offsetgroup property
poffset is not only different for different offsetgroups but also when the trace has a different width.
Previous attempt that used bar.p + offsetIndex resulted in the same bin for a bar with bar.p 0 and offsetIndex 1 and a bar with bar.p 1 and offsetIndex 0
Previously, all offsetgroups of different trace types were listed together, leading to undesired grouping interaction between different trace types.

Fixes failing baseline test "legendgroup".
…t have a mode "stack", i.e. scatter, box, violin, waterfall
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants