Boxen#

Boxen is a wrapper for seaborn’s boxenplot.

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

_, ax = plt.subplots()
data = np.random.randint(0, 10, (10, 10))
Boxen(data).render(ax)
plot boxen
    var  value
0     0      7
1     0      9
2     0      4
3     0      6
4     0      9
..  ...    ...
95    9      5
96    9      5
97    9      0
98    9      5
99    9      4

[100 rows x 2 columns]
{'x': 'var', 'y': 'value'}

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

Gallery generated by Sphinx-Gallery