Skip to content

Commit 653acb6

Browse files
fix wigner axis3
1 parent 921cce9 commit 653acb6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/QuantumToolboxMakieExt.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import QuantumToolbox: _state_to_bloch
66
import LinearAlgebra: cross, deg2rad, normalize, size
77
import Makie:
88
Axis,
9+
Axis3,
910
LScene,
1011
Colorbar,
1112
Figure,
@@ -151,7 +152,7 @@ function _plot_wigner(
151152

152153
lyt = GridLayout(location)
153154

154-
ax = LScene(lyt[1, 1], azimuth = 1.775pi, elevation = pi / 16, protrusions = (30, 90, 30, 30), viewmode = :stretch)
155+
ax = Axis3(lyt[1, 1], azimuth = 1.775pi, elevation = pi / 16, protrusions = (30, 90, 30, 30), viewmode = :stretch)
155156

156157
wig = wigner(state, xvec, yvec; g = g, method = method)
157158
wlim = maximum(abs, wig)

0 commit comments

Comments
 (0)