Skip to main content
Ctrl+K
marsilea 0.5.6 documentation - Home marsilea 0.5.6 documentation - Home
  • Tutorial
  • Gallery
  • API
  • Installation
  • How-To
  • GitHub
  • Tutorial
  • Gallery
  • API
  • Installation
  • How-To
  • GitHub

Section Navigation

  • Basics
    • Grouped heatmap
    • Heatmap
    • Annotate stacked bar
    • Two Heatmaps
  • All Plotters
    • AnnoLabels
    • Arc
    • Area
    • Bar
    • Box
    • Boxen
    • CenterBar
    • Chunk
    • ColorMesh
    • Colors
    • Emoji
    • FixedChunk
    • Image
    • Labels
    • MarkerMesh
    • Numbers
    • Point
    • Range
    • SeqLogo
    • SizedMesh
    • StackBar
    • Strip
    • Swarm
    • TextMesh
    • Title
    • Violin
  • Real World Data Visualization
    • Les Miserables Arc Diagram
    • Current available plotters in Marsilea
    • Bivariate Distribution
    • Mouse Embryo Map
    • Fat content in cooking oils
    • Breast cancer mutation with Oncoprinter
    • Visualizing Single-cell RNA-seq Data
    • Visualizing Single-cell Multi-Omics Data
    • Sequence Alignment Plot
    • Ranking of programming languages.
    • Track Plot
    • Upset Plot
  • Gallery
  • All Plotters
  • Box

Note

Go to the end to download the full example code.

Box#

Box is a wrapper for seaborn’s boxplot.

from marsilea.plotter import Box
import numpy as np
import matplotlib.pyplot as plt

_, ax = plt.subplots()
data = np.random.randint(0, 10, (10, 10))
Box(data).render(ax)
plot box

Total running time of the script: (0 minutes 0.196 seconds)

Download Jupyter notebook: plot_box.ipynb

Download Python source code: plot_box.py

Download zipped: plot_box.zip

Gallery generated by Sphinx-Gallery

previous

Bar

next

Boxen

© Copyright 2025, Mr-Milk.

Created using Sphinx 8.1.3.

Built with the PyData Sphinx Theme 0.16.1.