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)

var value
0 0 7
1 0 2
2 0 3
3 0 1
4 0 2
.. ... ...
95 9 3
96 9 2
97 9 9
98 9 1
99 9 8
[100 rows x 2 columns]
{'x': 'var', 'y': 'value'}
Total running time of the script: (0 minutes 0.361 seconds)