Skip to content

Commit 351954a

Browse files
committed
make format changes
1 parent 2542fbb commit 351954a

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

ext/QuantumToolboxMakieExt.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ function _add_labels!(b::Bloch, ax)
803803
position = Point3f(0, -offset_scale * b.xlpos[1], 0),
804804
color = label_color,
805805
fontsize = label_size,
806-
align = (:center, :center)
806+
align = (:center, :center),
807807
)
808808
end
809809
if length(b.xlabel) > 1 && !isempty(b.xlabel[2])
@@ -813,7 +813,7 @@ function _add_labels!(b::Bloch, ax)
813813
position = Point3f(0, -offset_scale * b.xlpos[2], 0),
814814
color = label_color,
815815
fontsize = label_size,
816-
align = (:center, :center)
816+
align = (:center, :center),
817817
)
818818
end
819819
if !isempty(b.ylabel) && !isempty(b.ylabel[1])
@@ -823,7 +823,7 @@ function _add_labels!(b::Bloch, ax)
823823
position = Point3f(offset_scale * b.ylpos[1], 0, 0),
824824
color = label_color,
825825
fontsize = label_size,
826-
align = (:center, :center)
826+
align = (:center, :center),
827827
)
828828
end
829829
if length(b.ylabel) > 1 && !isempty(b.ylabel[2])
@@ -833,7 +833,7 @@ function _add_labels!(b::Bloch, ax)
833833
position = Point3f(offset_scale * b.ylpos[2], 0, 0),
834834
color = label_color,
835835
fontsize = label_size,
836-
align = (:center, :center)
836+
align = (:center, :center),
837837
)
838838
end
839839
if !isempty(b.zlabel) && !isempty(b.zlabel[1])
@@ -843,7 +843,7 @@ function _add_labels!(b::Bloch, ax)
843843
position = Point3f(0, 0, offset_scale * b.zlpos[1]),
844844
color = label_color,
845845
fontsize = label_size,
846-
align = (:center, :center)
846+
align = (:center, :center),
847847
)
848848
end
849849
if length(b.zlabel) > 1 && !isempty(b.zlabel[2])
@@ -853,7 +853,7 @@ function _add_labels!(b::Bloch, ax)
853853
position = Point3f(0, 0, offset_scale * b.zlpos[2]),
854854
color = label_color,
855855
fontsize = label_size,
856-
align = (:center, :center)
856+
align = (:center, :center),
857857
)
858858
end
859859
end

test/ext-test/cpu/makie/makie_ext.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ end
8686
b = Bloch()
8787
add_points!(b, [0.0, 0.0, 1.0])
8888
@test length(b.points) == 1
89-
@test b.points[1] [0.0, 0.0, 1.0]
89+
@test b.points[1] [0.0, 0.0, 1.0]
9090

9191
pts = [[1.0, 0.0, 0.0], [0.0, 1.0, 0.0]]
9292
add_points!(b, hcat(pts...))

0 commit comments

Comments
 (0)