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

Sign up
Appearance settings

Commit 27b5c2e

Browse files
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)

AltStyle によって変換されたページ (->オリジナル) /