Skip to content

Commit 05c7257

Browse files
committed
do not assign offsetgroup to traces in px for bar, violin, box, and histogram traces
1 parent 4d99b35 commit 05c7257

File tree

1 file changed

+0
-2
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+0
-2
lines changed

packages/python/plotly/plotly/express/_core.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2194,8 +2194,6 @@ def make_figure(args, constructor, trace_patch=None, layout_patch=None):
21942194
legendgroup=trace_name,
21952195
showlegend=(trace_name != "" and trace_name not in trace_names),
21962196
)
2197-
if trace_spec.constructor in [go.Bar, go.Violin, go.Box, go.Histogram]:
2198-
trace.update(alignmentgroup=True, offsetgroup=trace_name)
21992197
trace_names.add(trace_name)
22002198

22012199
# Init subplot row/col

0 commit comments

Comments
 (0)