Strip#

Strip is a wrapper for seaborn’s stripplot.

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

_, ax = plt.subplots()
data = np.random.rand(50, 10)
Strip(data).render(ax)
plot strip
     var     value
0      0  0.466862
1      0  0.472190
2      0  0.789285
3      0  0.437094
4      0  0.552741
..   ...       ...
495    9  0.099161
496    9  0.042884
497    9  0.469567
498    9  0.840198
499    9  0.934707

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

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

Gallery generated by Sphinx-Gallery