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 678ad3d

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

‎packages/python/plotly/templategen/definitions.py‎

Lines changed: 2 additions & 2 deletions
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)

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