Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
tvaucher committed Mar 26, 2020
1 parent 3304cbd commit 6cff652
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/python/plotly/plotly/express/_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1278,6 +1278,8 @@ def infer_config(args, constructor, trace_patch):
if args["opacity"] is None:
if "barmode" in args and args["barmode"] == "overlay":
trace_patch["marker"] = dict(opacity=0.5)
elif constructor == go.Densitymapbox:
trace_patch["opacity"] = args["opacity"]
else:
trace_patch["marker"] = dict(opacity=args["opacity"])
if "line_group" in args:
Expand Down

0 comments on commit 6cff652

Please sign in to comment.