Skip to content

Commit ac3177c

Browse files
committed
change args to layout_patch
1 parent 298f5ce commit ac3177c

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -2481,7 +2481,7 @@ def make_figure(args, constructor, trace_patch=None, layout_patch=None):
24812481
# With marginal histogram, if barmode is not set, set to "overlay"
24822482
if (
24832483
"histogram" in [args.get("marginal_x"), args.get("marginal_y")]
2484-
and "barmode" not in args
2484+
and "barmode" not in layout_patch
24852485
):
24862486
layout_patch["barmode"] = "overlay"
24872487

0 commit comments

Comments
 (0)