https://github.com/makieorg/swarmmakie.jl
Beeswarm plots for Makie.jl!
https://github.com/makieorg/swarmmakie.jl
beeswarm makie makie-jl plotting visualization
Last synced: 5 months ago
JSON representation
Beeswarm plots for Makie.jl!
- Host: GitHub
- URL: https://github.com/makieorg/swarmmakie.jl
- Owner: MakieOrg
- License: mit
- Created: 2024-03-04T18:53:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-27T21:15:00.000Z (6 months ago)
- Last Synced: 2025-02-23T14:14:39.255Z (5 months ago)
- Topics: beeswarm, makie, makie-jl, plotting, visualization
- Language: Julia
- Homepage: https://makieorg.github.io/SwarmMakie.jl/
- Size: 62.8 MB
- Stars: 15
- Watchers: 2
- Forks: 2
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SwarmMakie
[](https://MakieOrg.github.io/SwarmMakie.jl/stable/)
[](https://MakieOrg.github.io/SwarmMakie.jl/dev/)
[](https://github.com/MakieOrg/SwarmMakie.jl/actions/workflows/CI.yml?query=branch%3Amain)Beeswarm plots in Makie!
## Quick start
The entry point to this package is the `beeswarm` recipe, which accepts input the same way `scatter` does in all respects -- plus a keyword `algorithm`, which specifies the beeswarm algorithm!
```julia
using SwarmMakie, CairoMakie
ys = rand(150)
beeswarm(ones(length(ys)), ys)
``````julia
using SwarmMakie, CairoMakie
xs = rand(1:4, 500)
ys = randn(500)
beeswarm(xs, ys; color = xs)
```See the docs for more!