Skip to content

Commit 3d36f14

Browse files
authoredJan 15, 2025··
Merge pull request #4966 from plotly/merge-recent-docs-changes
Merge recent docs changes back to `master`
2 parents d831305 + 529c89d commit 3d36f14

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+448
-325
lines changed
 

‎doc/python/3d-axes.md

+16-3
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,22 @@ fig.add_trace(go.Mesh3d(x=(70*np.random.randn(N)),
159159
))
160160

161161
fig.update_layout(scene = dict(
162-
xaxis_title='X AXIS TITLE',
163-
yaxis_title='Y AXIS TITLE',
164-
zaxis_title='Z AXIS TITLE'),
162+
xaxis=dict(
163+
title=dict(
164+
text='X AXIS TITLE'
165+
)
166+
),
167+
yaxis=dict(
168+
title=dict(
169+
text='Y AXIS TITLE'
170+
)
171+
),
172+
zaxis=dict(
173+
title=dict(
174+
text='Z AXIS TITLE'
175+
)
176+
),
177+
),
165178
width=700,
166179
margin=dict(r=20, b=10, l=10, t=10))
167180

‎doc/python/3d-bubble-charts.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ fig = go.Figure(data=go.Scatter3d(
7777

7878

7979
fig.update_layout(height=800, width=800,
80-
title='Examining Population and Life Expectancy Over Time')
80+
title=dict(text='Examining Population and Life Expectancy Over Time'))
8181

8282
fig.show()
8383
```
@@ -116,7 +116,7 @@ fig = go.Figure(data=go.Scatter3d(
116116
fig.update_layout(
117117
width=800,
118118
height=800,
119-
title="Planets!",
119+
title=dict(text="Planets!"),
120120
scene=dict(
121121
xaxis=dict(
122122
title=dict(
@@ -183,7 +183,7 @@ fig = go.Figure(go.Scatter3d(
183183
fig.update_layout(
184184
width=800,
185185
height=800,
186-
title="Planets!",
186+
title=dict(text="Planets!"),
187187
scene=dict(
188188
xaxis=dict(
189189
title=dict(

0 commit comments

Comments
 (0)
Please sign in to comment.