Skip to content

Commit 4be2983

Browse files
authored
Merge pull request #5513 from plotly/merge-doc-prod-to-main-branch
Merge doc prod to main branch
2 parents b2fcf3b + 490e92a commit 4be2983

23 files changed

+31
-29
lines changed

doc/python/axes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jupyter:
3333
thumbnail: thumbnail/axes.png
3434
---
3535

36-
This tutorial explain how to set the properties of [2-dimensional Cartesian axes](/python/figure-structure/#2d-cartesian-trace-types-and-subplots), namely [`go.layout.XAxis`](/python/reference/layout/xaxis/) and [`go.layout.YAxis`](/python/reference/layout/xaxis/).
36+
This tutorial explains how to set the properties of [2-dimensional Cartesian axes](/python/figure-structure/#2d-cartesian-trace-types-and-subplots), namely [`go.layout.XAxis`](/python/reference/layout/xaxis/) and [`go.layout.YAxis`](/python/reference/layout/yaxis/).
3737

3838
Other kinds of subplots and axes are described in other tutorials:
3939

doc/python/bar-charts.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ def pictogram_bar(data, title, icon_size, max_icons_per_column=10, units_per_ico
653653
title=title,
654654
xaxis=dict(
655655
tickvals=tick_locations,
656-
# Label ecah category
656+
# Label each category
657657
ticktext=list(data.keys()),
658658
tickangle=-45,
659659
showgrid=False,
@@ -772,7 +772,7 @@ fig.show()
772772

773773
### Colored and Styled Bar Chart
774774

775-
In this example several parameters of the layout as customized, hence it is convenient to use directly the `go.Layout(...)` constructor instead of calling `fig.update`.
775+
In this example several parameters of the layout are customized, hence it is convenient to use directly the `go.Layout(...)` constructor instead of calling `fig.update`.
776776

777777
```python
778778
import plotly.graph_objects as go

doc/python/bubble-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,4 @@ fig.show()
208208

209209
#### Reference
210210

211-
See [function reference for `px.(scatter_geo)`](https://plotly.com/python-api-reference/generated/plotly.express.scatter_geo) or https://plotly.com/python/reference/choropleth/ and https://plotly.com/python/reference/scattergeo/ for more information and chart attribute options!
211+
See [function reference for `px.scatter_geo`](https://plotly.com/python-api-reference/generated/plotly.express.scatter_geo) or https://plotly.com/python/reference/scattergeo/ for more information and chart attribute options!

doc/python/choropleth-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ fig = go.Figure(data=go.Choropleth(
258258

259259
fig.update_layout(
260260
title_text = '2011 US Agriculture Exports by State',
261-
geo_scope='usa', # limite map scope to USA
261+
geo_scope='usa', # limit map scope to USA
262262
)
263263

264264
fig.show()

doc/python/configuration-options.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The `.show()` method that you use to display your figures also accepts a `config
4040

4141
You can set the configuration options for your figure by passing a dictionary to this parameter which contains the options you want to set.
4242

43-
If you don't set an option's value, it will be automatically be set to the default value for that option.
43+
If you don't set an option's value, it will automatically be set to the default value for that option.
4444

4545
For the complete list of configuration options and their defaults see: https://github.com/plotly/plotly.js/blob/master/src/plot_api/plot_config.js
4646

@@ -348,7 +348,7 @@ fig = go.Figure(
348348
title='Google Stock Price Over Time with Mode Bar Disabled',
349349
xaxis=dict(
350350
title='Date',
351-
# Try zooming in or out using the modebar buttons. These only apply to the yaxis in this exampe.
351+
# Try zooming in or out using the modebar buttons. These only apply to the yaxis in this example.
352352
modebardisable='zoominout'
353353
),
354354
yaxis=dict(

doc/python/creating-and-updating-figures.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ import plotly.graph_objects as go
281281
df = px.data.iris()
282282

283283
fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species", facet_col="species",
284-
title="Adding Traces To Subplots Witin A Plotly Express Figure")
284+
title="Adding Traces To Subplots Within A Plotly Express Figure")
285285

286286
reference_line = go.Scatter(x=[2, 4],
287287
y=[4, 8],
@@ -624,7 +624,7 @@ Figures created with the plotly.py graphing library also support:
624624

625625
#### Chaining Figure Operations
626626

627-
All of the figure update operations described above are methods that return a reference to the figure being modified. This makes it possible the chain multiple figure modification operations together into a single expression.
627+
All of the figure update operations described above are methods that return a reference to the figure being modified. This makes it possible to chain multiple figure modification operations together into a single expression.
628628

629629
Here is an example of a chained expression that creates:
630630

doc/python/custom-buttons.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jupyter:
3434
---
3535

3636
#### Methods
37-
The [updatemenu method](https://plot.ly/python/reference/layout/updatemenus/#layout-updatemenus-items-updatemenu-buttons-items-button-method) determines which [plotly.js function](https://plot.ly/javascript/plotlyjs-function-reference/) will be used to modify the chart. There are 4 possible methods:
37+
The [updatemenu method](https://plotly.com/python/reference/layout/updatemenus/#layout-updatemenus-items-updatemenu-buttons-items-button-method) determines which [plotly.js function](https://plotly.com/javascript/plotlyjs-function-reference/) will be used to modify the chart. There are 4 possible methods:
3838
- `"restyle"`: modify **data** or data attributes
3939
- `"relayout"`: modify **layout** attributes
4040
- `"update"`: modify **data and layout** attributes; combination of `"restyle"` and `"relayout"`
41-
- `"animate"`: start or pause an [animation](https://plot.ly/python/#animations))
41+
- `"animate"`: start or pause an [animation](https://plotly.com/python/#animations))
4242

4343

4444
#### Restyle Button
@@ -146,7 +146,7 @@ fig.update_scenes(
146146
aspectmode="manual"
147147
)
148148

149-
# Add drowdowns
149+
# Add dropdowns
150150
# button_layer_1_height = 1.08
151151
button_layer_1_height = 1.12
152152
button_layer_2_height = 1.065

doc/python/discrete-color.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ fig = px.bar(df, y="continent", x="pop", color="continent", orientation="h", hov
162162
fig.show()
163163
```
164164

165-
**_Warning_**: If your color sequence is has fewer colors than the number of unique values in the column you are mapping to `color`, the colors will cycle through and repeat, possibly leading to ambiguity:
165+
**_Warning_**: If your color sequence has fewer colors than the number of unique values in the column you are mapping to `color`, the colors will cycle through and repeat, possibly leading to ambiguity:
166166

167167
```python
168168
import plotly.express as px

doc/python/horizontal-bar-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ See more examples of bar charts (including vertical bar charts) and styling opti
3737

3838
### Horizontal Bar Chart with Plotly Express
3939

40-
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](/python/px-arguments/) and produces [easy-to-style figures](/python/styling-plotly-express/). For a horizontal bar char, use the `px.bar` function with `orientation='h'`.
40+
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on a variety of types of data](/python/px-arguments/) and produces [easy-to-style figures](/python/styling-plotly-express/). For a horizontal bar chart, use the `px.bar` function with `orientation='h'`.
4141

4242
#### Basic Horizontal Bar Chart with Plotly Express
4343

doc/python/icicle-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ fig =go.Figure(go.Icicle(
187187
"North America", "Europe", "Australia", "North America - Football", "Soccer",
188188
"North America - Rugby", "Europe - Football", "Rugby",
189189
"Europe - American Football","Australia - Football", "Association",
190-
"Australian Rules", "Autstralia - American Football", "Australia - Rugby",
190+
"Australian Rules", "Australia - American Football", "Australia - Rugby",
191191
"Rugby League", "Rugby Union"
192192
],
193193
labels= ["Sports",

0 commit comments

Comments
 (0)