12  boxplots

import cellestial as cl
import scanpy as sc
from lets_plot import *

LetsPlot.setup_html()

data = sc.read("data/pbmc3k_mini.h5ad")

12.1 Instead of a single key, boxplots expects a list (iterable) of keys.

12.1.1 it will split the plot into ncol columns

cl.boxplots(
    data,
    [
        "n_genes_by_counts",
        "pct_counts_in_top_100_genes",
        "log1p_total_counts_mt",
        "pct_counts_hb",
    ],
    ncol=2,
    fill="sample",
    show_points=False,
    layers=[scale_y_log10()],
)
cl.versions()
cellestial: 0.2.0
scanpy: 1.10.4
anndata: 0.11.0
polars: 1.12.0