Skip to content

Commit 3f10629

Browse files
committed
minor documentation polish
1 parent a391e96 commit 3f10629

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/users_guide/plotting_the_bloch_sphere.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ fig
137137

138138
The color and shape of the data points is varied automatically by [`Bloch`](@ref). Notice how the color and point markers change for each set of data. Again, we have had to call add_points twice because adding more than one set of multiple data points is not supported by the add_points function.
139139

140-
What if we want to vary the color of our points. We can tell [`Bloch`](@ref) to vary the color of each point according to the colors listed in the `b.point_color`
140+
What if we want to vary the color of our points. We can tell [`Bloch`](@ref) to vary the color of each point according to the colors listed in the `point_color` attribute..
141141

142142
```@example Bloch_sphere_rendering
143143
clear!(b)
@@ -150,7 +150,7 @@ fig, ax = render(b);
150150
fig
151151
```
152152

153-
Now, the data points cycle through a variety of predefined colors. Now lets add another set of points, but this time we want the set to be a single color, representing say a qubit going from the ``|0\rangle`` state to the state in the `y-z` plane:
153+
Now, the data points cycle through a variety of predefined colors. Now lets add another set of points, but this time we want the set to be a single color, representing say a qubit going from the ``|0\rangle`` state to the ``|1\rangle`` state in the `y-z` plane:
154154

155155
```@example Bloch_sphere_rendering
156156
pnts = [xz, yz, zz] ;

0 commit comments

Comments
 (0)