Skip to content

Commit df658b4

Browse files
committed
fix some typos
1 parent 9928ba7 commit df658b4

14 files changed

+18
-18
lines changed

doc/python/bar-charts.md

Lines changed: 1 addition & 1 deletion
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,

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: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/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",

doc/python/linear-fits.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ fig = px.scatter(df, x="gdpPercap", y="lifeExp", log_x=True,
116116
fig.show()
117117
```
118118

119-
### Locally WEighted Scatterplot Smoothing (LOWESS)
119+
### Locally Weighted Scatterplot Smoothing (LOWESS)
120120

121121
Plotly Express also supports non-linear [LOWESS](https://en.wikipedia.org/wiki/Local_regression) trendlines. In order use this feature, you will need to [install `statsmodels` and its dependencies](https://www.statsmodels.org/stable/install.html).
122122

doc/python/ml-knn.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ fig.show()
124124

125125
Just like the previous example, we will first train our kNN model on the training set.
126126

127-
Instead of predicting the conference for the test set, we can predict the confidence map for the entire area that wraps around the dimensions of our dataset. To do this, we use [`np.meshgrid`](https://numpy.org/doc/stable/reference/generated/numpy.meshgrid.html) to create a grid, where the distance between each point is denoted by the `mesh_size` variable.
127+
Instead of predicting the confidence for the test set, we can predict the confidence map for the entire area that wraps around the dimensions of our dataset. To do this, we use [`np.meshgrid`](https://numpy.org/doc/stable/reference/generated/numpy.meshgrid.html) to create a grid, where the distance between each point is denoted by the `mesh_size` variable.
128128

129129
Then, for each of those points, we will use our model to give a confidence score, and plot it with a [contour plot](https://plotly.com/python/contour-plots/).
130130

doc/python/performance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ it is also possible to use [datashader](/python/datashader/).
181181

182182
The `render_mode` argument to supported Plotly Express functions (e.g. `scatter` and `scatter_polar`) can be used to enable WebGL rendering.
183183

184-
> **Note** The default `render_mode` is `"auto"`, in which case Plotly Express will automatically set `render_mode="webgl"` if the input data is more than 1,000 rows long. In this case, WebGl can be disabled by setting `render_mode=svg`.
184+
> **Note** The default `render_mode` is `"auto"`, in which case Plotly Express will automatically set `render_mode="webgl"` if the input data is more than 1,000 rows long. In this case, WebGL can be disabled by setting `render_mode=svg`.
185185
186186
Here is an example that creates a 100,000 point scatter plot using Plotly Express with WebGL rendering explicitly enabled.
187187

0 commit comments

Comments
 (0)