Skip to content

Commit 9dafde3

Browse files
committed
minor change in docs
1 parent 433cee9 commit 9dafde3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# [Extension for CairoMakie.jl](@id doc:CairoMakie)
22

3-
## Introduction
4-
53
This is an extension to support visualization (plotting functions) using [`CairoMakie.jl`](https://github.com/MakieOrg/Makie.jl/tree/master/CairoMakie) library.
64

75
This extension will be automatically loaded if user imports both `QuantumToolbox.jl` and [`CairoMakie.jl`](https://github.com/MakieOrg/Makie.jl/tree/master/CairoMakie):
@@ -11,11 +9,13 @@ using QuantumToolbox
119
using CairoMakie
1210
```
1311

14-
To plot with [`CairoMakie.jl`](https://github.com/MakieOrg/Makie.jl/tree/master/CairoMakie) library, specify the keyword argument `library = Val(:CairoMakie)` for the plotting functions. The supported plotting functions are listed as follows:
12+
To plot with [`CairoMakie.jl`](https://github.com/MakieOrg/Makie.jl/tree/master/CairoMakie) library, specify the keyword argument `library = Val(:CairoMakie)` for the plotting functions.
1513

1614
!!! warning "Beware of type-stability!"
1715
If you want to keep type stability, it is recommended to use `Val(:CairoMakie)` instead of `:CairoMakie`. See [this link](https://docs.julialang.org/en/v1/manual/performance-tips/#man-performance-value-type) and the [related Section](@ref doc:Type-Stability) about type stability for more details.
1816

17+
The supported plotting functions are listed as follows:
18+
1919
| **Plotting Function** | **Description** |
2020
|:----------------------|:----------------|
2121
| [`plot_wigner`](@ref) | [Wigner quasipropability distribution](https://en.wikipedia.org/wiki/Wigner_quasiprobability_distribution) |

0 commit comments

Comments
 (0)