Skip to content

Commit e76bdf0

Browse files
Format and make changelog
1 parent 9d661f9 commit e76bdf0

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88
## [Unreleased](https://github.com/qutip/QuantumToolbox.jl/tree/main)
99

1010
- Support different length for `to` and `from` on GeneralDimensions. ([#448])
11+
- Extend the `Makie.jl` extension to all the other available backends. ([#450])
1112

1213
## [v0.30.0]
1314
Release date: 2025-04-12
@@ -204,3 +205,4 @@ Release date: 2024-11-13
204205
[#440]: https://github.com/qutip/QuantumToolbox.jl/issues/440
205206
[#443]: https://github.com/qutip/QuantumToolbox.jl/issues/443
206207
[#448]: https://github.com/qutip/QuantumToolbox.jl/issues/448
208+
[#450]: https://github.com/qutip/QuantumToolbox.jl/issues/450

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

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,15 @@
99

1010
using Makie
1111

12-
fig, ax, hm = plot_wigner(
13-
ψ;
14-
library = Val(:Makie),
15-
xvec = xvec,
16-
yvec = yvec,
17-
projection = Val(:two_dim),
18-
colorbar = true,
19-
)
12+
fig, ax, hm =
13+
plot_wigner(ψ; library = Val(:Makie), xvec = xvec, yvec = yvec, projection = Val(:two_dim), colorbar = true)
2014
@test fig isa Figure
2115
@test ax isa Axis
2216
@test hm isa Heatmap
2317
@test all(isapprox.(hm[3].val, wig, atol = 1e-6))
2418

25-
fig, ax, surf = plot_wigner(
26-
ψ;
27-
library = Val(:Makie),
28-
xvec = xvec,
29-
yvec = yvec,
30-
projection = Val(:three_dim),
31-
colorbar = true,
32-
)
19+
fig, ax, surf =
20+
plot_wigner(ψ; library = Val(:Makie), xvec = xvec, yvec = yvec, projection = Val(:three_dim), colorbar = true)
3321
@test fig isa Figure
3422
@test ax isa Axis3
3523
@test surf isa Surface

0 commit comments

Comments
 (0)