pyvista.plotting.charts.BoxPlot.stats#

property BoxPlot.stats[source]#

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 as pv
>>> chart = pv.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-2_00_00.png