matplotlib.pyplot.
violinplot
(dataset, positions=None, vert=True, widths=0.5, showmeans=False, showextrema=True, showmedians=False, points=100, bw_method=None, hold=None, data=None)¶Make a violin plot.
Make a violin plot for each column of dataset or each vector in sequence dataset. Each filled area extends to represent the entire data range, with optional lines at the mean, the median, the minimum, and the maximum.
Parameters: | dataset : Array or a sequence of vectors.
positions : array-like, default = [1, 2, …, n]
vert : bool, default = True.
widths : array-like, default = 0.5
showmeans : bool, default = False
showextrema : bool, default = True
showmedians : bool, default = False
points : scalar, default = 100
bw_method : str, scalar or callable, optional
|
---|---|
Returns: | result : dict
Note In addition to the above described arguments, this function can take a data keyword argument. If such a data argument is given, the following arguments are replaced by data[<arg>]:
|