Skip to content

Commit ad30f0f

Browse files
committed
minor polish
1 parent 351954a commit ad30f0f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/visualization.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ A structure representing a Bloch sphere visualization for quantum states.
8888
## Style properties
8989
9090
- `font_color::String`: Color of axis labels and text
91-
- `font_size::Int`: Font size for labels (default: 18)
91+
- `font_size::Int`: Font size for labels (default: 15)
9292
- `frame_alpha::Float64`: Transparency of the frame background
9393
- `frame_color::String`: Background color of the frame
9494
- `frame_limit::Float64`: Axis limits for the 3D frame (symmetric around origin)
@@ -105,7 +105,7 @@ A structure representing a Bloch sphere visualization for quantum states.
105105
## Sphere properties
106106
107107
- `sphere_color::String`: Color of Bloch sphere surface
108-
- `sphere_alpha::Float64`: Transparency of sphere surface (default: 0.4)
108+
- `sphere_alpha::Float64`: Transparency of sphere surface (default: 0.2)
109109
110110
# Vector properties
111111
@@ -119,11 +119,11 @@ A structure representing a Bloch sphere visualization for quantum states.
119119
120120
## Label properties
121121
- `xlabel::Vector{String}}`: Labels for x-axis (default: ["x", ""])
122-
- `xlpos::Vector{Float64}}`: Positions of x-axis labels (default: [1.2, -1.2])
122+
- `xlpos::Vector{Float64}}`: Positions of x-axis labels (default: [1.0, -1.0])
123123
- `ylabel::Vector{String}}`: Labels for y-axis (default: ["y", ""])
124-
- `ylpos::Vector{Float64}}`: Positions of y-axis labels (default: [1.2, -1.2])
124+
- `ylpos::Vector{Float64}}`: Positions of y-axis labels (default: [1.0, -1.0])
125125
- `zlabel::Vector{String}}`: Labels for z-axis (default: ["|0⟩", "|1⟩"])
126-
- `zlpos::Vector{Float64}}`: Positions of z-axis labels (default: [1.2, -1.2])
126+
- `zlpos::Vector{Float64}}`: Positions of z-axis labels (default: [1.0, -1.0])
127127
"""
128128
@kwdef mutable struct Bloch
129129
points::Vector{Matrix{Float64}} = Vector{Matrix{Float64}}()
@@ -134,7 +134,7 @@ A structure representing a Bloch sphere visualization for quantum states.
134134
font_size::Int = 15
135135
frame_alpha::Float64 = 0.0
136136
frame_color::String = "white"
137-
frame_limit::Float64 = 1.13
137+
frame_limit::Float64 = 1.14
138138
point_default_color::Vector{String} = ["blue", "red", "green", "orange"]
139139
point_color::Vector{Union{Nothing,String}} = Union{Nothing,String}[]
140140
point_marker::Vector{Symbol} = [:circle, :rect, :diamond, :utriangle]

0 commit comments

Comments
 (0)