Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 2 days ago
JSON representation

Beeswarm plots for Makie.jl!

Awesome Lists containing this project

README

        

# SwarmMakie

[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://MakieOrg.github.io/SwarmMakie.jl/stable/)
[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://MakieOrg.github.io/SwarmMakie.jl/dev/)
[![Build Status](https://github.com/MakieOrg/SwarmMakie.jl/actions/workflows/CI.yml/badge.svg?branch=main)](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!