Skip to content

Commit 678ad3d

Browse files
committed
Update grid and line colors for 3d and ternary plots
1 parent 18abf79 commit 678ad3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: packages/python/plotly/templategen/definitions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -121,14 +121,14 @@ def simple_white():
121121
template.layout.title.x = 0.05
122122

123123
# Increase grid width for 3d plots
124-
opts = dict(gridwidth=2, gridcolor=plotly_clrs["Rhino Light 1"], zeroline=False)
124+
opts = dict(gridwidth=2, gridcolor=plotly_clrs["gray91"], zeroline=False)
125125
template.layout.scene.xaxis.update(opts)
126126
template.layout.scene.yaxis.update(opts)
127127
template.layout.scene.zaxis.update(opts)
128128

129129
# Darken ternary
130130
opts = dict(
131-
linecolor=plotly_clrs["Rhino Medium 1"], gridcolor=plotly_clrs["Rhino Light 1"]
131+
linecolor=plotly_clrs["gray14"], gridcolor=plotly_clrs["gray91"]
132132
)
133133
template.layout.ternary.aaxis.update(opts)
134134
template.layout.ternary.baxis.update(opts)

0 commit comments

Comments
 (0)