Skip to content

Commit 6af1d79

Browse files
author
Timoté Vaucher
committed
Remove opacity from trace_patch
1 parent f5c8be0 commit 6af1d79

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/python/plotly/plotly/express/_chart_types.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -1089,9 +1089,7 @@ def density_mapbox(
10891089
the color of the region around the corresponding point on the map
10901090
"""
10911091
return make_figure(
1092-
args=locals(),
1093-
constructor=go.Densitymapbox,
1094-
trace_patch=dict(radius=radius, opacity=opacity),
1092+
args=locals(), constructor=go.Densitymapbox, trace_patch=dict(radius=radius),
10951093
)
10961094

10971095

@@ -1401,9 +1399,7 @@ def funnel(
14011399
rectangular sector of a funnel.
14021400
"""
14031401
return make_figure(
1404-
args=locals(),
1405-
constructor=go.Funnel,
1406-
trace_patch=dict(opacity=opacity, orientation=orientation),
1402+
args=locals(), constructor=go.Funnel, trace_patch=dict(orientation=orientation),
14071403
)
14081404

14091405

0 commit comments

Comments
 (0)