Skip to content

Commit 27b5c2e

Browse files
committed
Add transparency to scatter markers
1 parent dd77202 commit 27b5c2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/python/plotly/templategen/definitions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ def mpl():
142142
opts = {"marker": {"line": {"width": 1, "color": "white"}}}
143143
template.data.histogram = [opts]
144144

145+
# Add transparency to scatter markers to indicate saturation
146+
template.data.scatter = [{"marker": {"opacity": 0.65}}]
147+
145148
# Mapbox light style
146149
template.layout.mapbox.style = "light"
147150

0 commit comments

Comments
 (0)