Skip to content

Commit 79dbd8f

Browse files
removing odd non-breaking-spaces from headers
1 parent 878da7e commit 79dbd8f

18 files changed

+35
-35
lines changed

doc/python/3d-axes.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ fig.show()
141141
import plotly.graph_objects as go
142142
import numpy as np
143143

144-
# Define random surface
144+
# Define random surface
145145
N = 50
146146
fig = go.Figure(data=[go.Mesh3d(x=(60*np.random.randn(N)),
147147
y=(25*np.random.randn(N)),
@@ -150,7 +150,7 @@ fig = go.Figure(data=[go.Mesh3d(x=(60*np.random.randn(N)),
150150
color='rgba(100,22,200,0.5)'
151151
)])
152152

153-
# Different types of customized ticks
153+
# Different types of customized ticks
154154
fig.update_layout(scene = dict(
155155
xaxis = dict(
156156
ticktext= ['TICKS','MESH','PLOTLY','PYTHON'],
@@ -184,7 +184,7 @@ fig = go.Figure(data=[go.Mesh3d(x=(30*np.random.randn(N)),
184184
opacity=0.5,)])
185185

186186

187-
# xaxis.backgroundcolor is used to set background color
187+
# xaxis.backgroundcolor is used to set background color
188188
fig.update_layout(scene = dict(
189189
xaxis = dict(
190190
backgroundcolor="rgb(200, 200, 230)",

doc/python/box-plots.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ fig.add_trace(go.Box(
280280
name="All Points",
281281
jitter=0.3,
282282
pointpos=-1.8,
283-
boxpoints='all', # represent all points
283+
boxpoints='all', # represent all points
284284
marker_color='rgb(7,40,89)',
285285
line_color='rgb(7,40,89)'
286286
))
@@ -353,7 +353,7 @@ fig.add_trace(go.Box(
353353

354354
fig.update_layout(
355355
yaxis_title='normalized moisture',
356-
boxmode='group' # group together boxes of the different traces for each value of x
356+
boxmode='group' # group together boxes of the different traces for each value of x
357357
)
358358
fig.show()
359359
```

doc/python/bubble-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ fig = px.scatter_geo(df, locations="iso_alpha", color="continent",
5050
fig.show()
5151
```
5252

53-
### Bubble Map with animation
53+
### Bubble Map with animation
5454

5555
```python
5656
import plotly.express as px

doc/python/choropleth-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ fig.update_layout(
260260
geo = dict(
261261
scope='usa',
262262
projection=go.layout.geo.Projection(type = 'albers usa'),
263-
showlakes=True, # lakes
263+
showlakes=True, # lakes
264264
lakecolor='rgb(255, 255, 255)'),
265265
)
266266

doc/python/error-bars.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jupyter:
3333
thumbnail: thumbnail/error-bar.jpg
3434
---
3535

36-
### Error Bars with Plotly Express
36+
### Error Bars with Plotly Express
3737

3838
[Plotly Express](/python/plotly-express/) is the easy-to-use, high-level interface to Plotly, which [operates on "tidy" data](/python/px-arguments/) and produces [easy-to-style figures](/python/styling-plotly-express/). For functions representing 2D data points such as [`px.scatter`](https://plot.ly/python/line-and-scatter/), [`px.line`](https://plot.ly/python/line-charts/), [`px.bar`](https://plot.ly/python/bar-charts/) etc., error bars are given as a column name which is the value of the `error_x` (for the error on x position) and `error_y` (for the error on y position).
3939

@@ -46,7 +46,7 @@ fig = px.scatter(df, x="sepal_width", y="sepal_length", color="species",
4646
fig.show()
4747
```
4848

49-
#### Asymmetric Error Bars with Plotly Express
49+
#### Asymmetric Error Bars with Plotly Express
5050

5151
```python
5252
import plotly.express as px

doc/python/filled-area-plots.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ import plotly.graph_objects as go
7070

7171
fig = go.Figure()
7272
fig.add_trace(go.Scatter(x=[1, 2, 3, 4], y=[0, 2, 3, 5], fill='tozeroy',
73-
mode='none' # override default markers+lines
73+
mode='none' # override default markers+lines
7474
))
7575
fig.add_trace(go.Scatter(x=[1, 2, 3, 4], y=[3, 5, 1, 7], fill='tonexty',
7676
mode= 'none'))
@@ -92,7 +92,7 @@ fig.add_trace(go.Scatter(x=[1, 2, 3, 4], y=[3, 4, 8, 3],
9292
fig.add_trace(go.Scatter(
9393
x=[1, 2, 3, 4],
9494
y=[1, 6, 2, 6],
95-
fill='tonexty', # fill area between trace0 and trace1
95+
fill='tonexty', # fill area between trace0 and trace1
9696
mode='lines', line_color='indigo'))
9797

9898
fig.show()

doc/python/histograms.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ fig.add_trace(go.Histogram(
244244
x=x0,
245245
histnorm='percent',
246246
name='control', # name used in legend and hover labels
247-
xbins=dict( # bins used for histogram
247+
xbins=dict( # bins used for histogram
248248
start=-4.0,
249249
end=3.0,
250250
size=0.5
@@ -266,10 +266,10 @@ fig.add_trace(go.Histogram(
266266
))
267267

268268
fig.update_layout(
269-
title_text='Sampled Results', # title of plot
269+
title_text='Sampled Results', # title of plot
270270
xaxis_title_text='Value', # xaxis label
271271
yaxis_title_text='Count', # yaxis label
272-
bargap=0.2, # gap between bars of adjacent location coordinates
272+
bargap=0.2, # gap between bars of adjacent location coordinates
273273
bargroupgap=0.1 # gap between bars of the same location coordinates
274274
)
275275

@@ -338,7 +338,7 @@ trace5 = go.Histogram(x=x,
338338
xbins=dict(
339339
start='1969-11-15',
340340
end='1972-03-31',
341-
size= 'M2'), # 2 months
341+
size= 'M2'), # 2 months
342342
autobinx = False
343343
)
344344

doc/python/line-charts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ fig = px.line(df, x="year", y="lifeExp", color="continent",
7070
fig.show()
7171
```
7272

73-
### Line Plot with go.Scatter
73+
### Line Plot with go.Scatter
7474

7575
If Plotly Express does not provide a good starting point, it is possible to use the more generic `go.Scatter` function from `plotly.graph_objects`. Whereas `plotly.express` has two functions `scatter` and `line`, `go.Scatter` can be used both for plotting points (makers) or lines, depending on the value of `mode`. The different options of `go.Scatter` are documented in its [reference page](https://plot.ly/python/reference/#scatter).
7676

doc/python/lines-on-maps.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fig = px.line_geo(df, locations="iso_alpha",
5252
fig.show()
5353
```
5454

55-
## Lines on Maps with plotly.graph_objects
55+
## Lines on Maps with plotly.graph_objects
5656

5757
### US Flight Paths Map
5858

doc/python/network-graphs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Install the Python library `networkx` with `pip install networkx`.
4343

4444

4545

46-
### Create random graph
46+
### Create random graph
4747

4848
```python
4949
import plotly.graph_objects as go

0 commit comments

Comments
 (0)