Skip to content

Commit fe0b1ed

Browse files
author
Timoté Vaucher
committed
Fix #2316
1 parent 2279efd commit fe0b1ed

File tree

1 file changed

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

1 file changed

+2
-0
lines changed

Diff for: packages/python/plotly/plotly/express/_core.py

+2
Original file line numberDiff line numberDiff line change
@@ -1278,6 +1278,8 @@ def infer_config(args, constructor, trace_patch):
12781278
if args["opacity"] is None:
12791279
if "barmode" in args and args["barmode"] == "overlay":
12801280
trace_patch["marker"] = dict(opacity=0.5)
1281+
elif constructor in [go.Densitymapbox, go.Pie, go.Funnel, go.Funnelarea]:
1282+
trace_patch["opacity"] = args["opacity"]
12811283
else:
12821284
trace_patch["marker"] = dict(opacity=args["opacity"])
12831285
if "line_group" in args:

0 commit comments

Comments
 (0)