Skip to content

Commit ac8af46

Browse files
committed
boolean order of operations...
1 parent 762f17b commit ac8af46

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ def make_figure(args, constructor, trace_patch=None, layout_patch=None):
25622562
barmode = args.get("barmode")
25632563
if (
25642564
trace_spec.constructor in [go.Bar, go.Box, go.Violin, go.Histogram]
2565-
and barmode == "group" or barmode is None
2565+
and (barmode == "group" or barmode is None)
25662566
):
25672567
trace.update(alignmentgroup=True, offsetgroup=trace_name)
25682568
trace_names.add(trace_name)

0 commit comments

Comments
 (0)