stats#

property BoxPlot.stats#

Retrieve the statistics (quartiles and extremum values) of the datasets of which the boxplots are drawn.

Examples

Create a box plot and display the statistics.

>>> import pyvista
>>> chart = pyvista.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.plot.stats
(pyvista_ndarray([0., 1., 2., 3., 4.]),)
>>> chart.show()
../../../../_images/pyvista-plotting-charts-BoxPlot-stats-1_00_00.png