pyvista.plotting.charts.BoxPlot.data#

property BoxPlot.data[source]#

Retrieve the datasets of which the boxplots are drawn.

Examples

Create a box plot and display the datasets.

>>> import pyvista
>>> chart = pyvista.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.plot.data
(pyvista_ndarray([0, 1, 1, 2, 3, 3, 4]),)
>>> chart.show()
https://d33wubrfki0l68.cloudfront.net/c11fc5c93247d9b30facb770635b53e2f1b721b2/74191/_images/pyvista-plotting-charts-boxplot-data-1_00_00.png