Skip to content

Commit

Permalink
Add doctest in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
abhro committed Dec 19, 2024
1 parent 735ea5e commit b79465c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/axis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const VarAxes = Tuple{Vararg{AbstractAxis}}
Gives named component access for `ComponentArray`s.
# Examples
```julia-repl
```jldoctest
julia> using ComponentArrays
julia> ax = Axis((a = 1, b = ViewAxis(2:7, PartitionedAxis(2, (a = 1, b = 2))), c = ViewAxis(8:10, (a = 1, b = 2:3))));
Expand Down

0 comments on commit b79465c

Please sign in to comment.