Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fe0b1ed

Browse filesBrowse files
author
Timoté Vaucher
committed
1 parent 2279efd commit fe0b1ed
Copy full SHA for fe0b1ed

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
  • packages/python/plotly/plotly/express
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

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

Copy file name to clipboardExpand all lines: packages/python/plotly/plotly/express/_core.py
+2Lines changed: 2 additions & 0 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.