Skip to content

Commit 5e4263a

Browse files
fix whitespace issues
1 parent 53015b9 commit 5e4263a

File tree

186 files changed

+76
-262
lines changed

Some content is hidden

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

186 files changed

+76
-262
lines changed

python/2D-Histogram.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jupyter:
3333
page_type: u-guide
3434
permalink: python/2D-Histogram/
3535
thumbnail: thumbnail/histogram2d.jpg
36-
3736
---
3837

3938
### 2D Histogram of a Bivariate Normal Distribution ###

python/2d-histogram-contour.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jupyter:
3333
page_type: u-guide
3434
permalink: python/2d-histogram-contour/
3535
thumbnail: thumbnail/hist2dcontour.png
36-
3736
---
3837

3938
#### Basic 2D Histogram Contour

python/3d-axes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jupyter:
3333
page_type: example_index
3434
permalink: python/3d-axes/
3535
thumbnail: thumbnail/3d-axes.png
36-
3736
v4upgrade: true
3837
---
3938

python/3d-bubble-charts.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jupyter:
3434
page_type: u-guide
3535
permalink: python/3d-bubble-charts/
3636
thumbnail: thumbnail/3dbubble.jpg
37-
3837
---
3938

4039
### 3d Bubble chart with Plotly Express

python/3d-camera-controls.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,12 @@ jupyter:
3232
order: 0.108
3333
permalink: python/3d-camera-controls/
3434
thumbnail: thumbnail/3d-camera-controls.jpg
35-
3635
---
3736

3837
### How camera controls work
3938

40-
The camera position and direction is determined by three vectors: *up*, *center*, *eye*. Their coordinates refer to the 3-d domain, i.e., `(0, 0, 0)` is always the center of the domain, no matter data values.
41-
The `eye` vector determines the position of the camera. The default is $(x=1.25, y=1.25, z=1.25)$.
39+
The camera position and direction is determined by three vectors: *up*, *center*, *eye*. Their coordinates refer to the 3-d domain, i.e., `(0, 0, 0)` is always the center of the domain, no matter data values.
40+
The `eye` vector determines the position of the camera. The default is $(x=1.25, y=1.25, z=1.25)$.
4241

4342
The `up` vector determines the `up` direction on the page. The default is $(x=0, y=0, z=1)$, that is, the z-axis points up.
4443

python/3d-isosurface-plots.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jupyter:
3434
permalink: python/3d-isosurface-plots/
3535
redirect_from: python/isosurfaces-with-marching-cubes/
3636
thumbnail: thumbnail/isosurface.jpg
37-
3837
---
3938

4039
With ``go.Isosurface``, you can plot [isosurface contours](https://en.wikipedia.org/wiki/Isosurface) of a scalar field ``value``, which is defined on ``x``, ``y`` and ``z`` coordinates.
@@ -68,7 +67,7 @@ import numpy as np
6867

6968
X, Y, Z = np.mgrid[-5:5:40j, -5:5:40j, -5:5:40j]
7069

71-
# ellipsoid
70+
# ellipsoid
7271
values = X * X * 0.5 + Y * Y + Z * Z * 2
7372

7473
fig = go.Figure(data=go.Isosurface(
@@ -91,7 +90,7 @@ import numpy as np
9190

9291
X, Y, Z = np.mgrid[-5:5:40j, -5:5:40j, -5:5:40j]
9392

94-
# ellipsoid
93+
# ellipsoid
9594
values = X * X * 0.5 + Y * Y + Z * Z * 2
9695

9796
fig = go.Figure(data=go.Isosurface(
@@ -116,7 +115,7 @@ import numpy as np
116115

117116
X, Y, Z = np.mgrid[-5:5:40j, -5:5:40j, -5:5:40j]
118117

119-
# ellipsoid
118+
# ellipsoid
120119
values = X * X * 0.5 + Y * Y + Z * Z * 2
121120

122121
fig = go.Figure(data=go.Isosurface(
@@ -135,15 +134,15 @@ fig.show()
135134

136135
#### Isosurface with Addtional Slices
137136

138-
Here we visualize slices parallel to the axes on top of isosurfaces. For a clearer visualization, the `fill` ratio of isosurfaces is decreased below 1 (completely filled).
137+
Here we visualize slices parallel to the axes on top of isosurfaces. For a clearer visualization, the `fill` ratio of isosurfaces is decreased below 1 (completely filled).
139138

140139
```python
141140
import plotly.graph_objects as go
142141
import numpy as np
143142

144143
X, Y, Z = np.mgrid[-5:5:40j, -5:5:40j, -5:5:40j]
145144

146-
# ellipsoid
145+
# ellipsoid
147146
values = X * X * 0.5 + Y * Y + Z * Z * 2
148147

149148
fig = go.Figure(data=go.Isosurface(
@@ -192,7 +191,7 @@ import numpy as np
192191

193192
X, Y, Z = np.mgrid[-5:5:40j, -5:5:40j, -5:5:40j]
194193

195-
# ellipsoid
194+
# ellipsoid
196195
values = X * X * 0.5 + Y * Y + Z * Z * 2
197196

198197
fig = go.Figure(data=go.Isosurface(

python/3d-line-plots.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jupyter:
3333
page_type: u-guide
3434
permalink: python/3d-line-plots/
3535
thumbnail: thumbnail/3d-line.jpg
36-
3736
---
3837

3938
### 3D Line plot with Plotly Express

python/3d-mesh.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jupyter:
3333
page_type: u-guide
3434
permalink: python/3d-mesh/
3535
thumbnail: thumbnail/3d-mesh.jpg
36-
3736
v4upgrade: true
3837
---
3938

@@ -85,8 +84,8 @@ fig = go.Figure(data=[
8584
y=[0, 0, 1, 2],
8685
z=[0, 2, 0, 1],
8786
colorbar_title='z',
88-
colorscale=[[0, 'gold'],
89-
[0.5, 'mediumturquoise'],
87+
colorscale=[[0, 'gold'],
88+
[0.5, 'mediumturquoise'],
9089
[1, 'magenta']],
9190
# Intensity of each vertex, which will be interpolated and color-coded
9291
intensity=[0, 0.33, 0.66, 1],
@@ -115,7 +114,7 @@ fig = go.Figure(data=[
115114
z=[0, 0, 0, 0, 1, 1, 1, 1],
116115
colorbar_title='z',
117116
colorscale=[[0, 'gold'],
118-
[0.5, 'mediumturquoise'],
117+
[0.5, 'mediumturquoise'],
119118
[1, 'magenta']],
120119
# Intensity of each vertex, which will be interpolated and color-coded
121120
intensity = np.linspace(0, 1, 8, endpoint=True),

python/3d-scatter-plots.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jupyter:
3333
page_type: example_index
3434
permalink: python/3d-scatter-plots/
3535
thumbnail: thumbnail/3d-scatter.jpg
36-
3736
v4upgrade: true
3837
---
3938

python/3d-subplots.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jupyter:
3333
page_type: u-guide
3434
permalink: python/3d-subplots/
3535
thumbnail: thumbnail/3d-subplots.jpg
36-
3736
v4upgrade: true
3837
---
3938

0 commit comments

Comments
 (0)