BoxPlot.data#
- property BoxPlot.data: tuple[pyvista_ndarray, ...][source]#
Retrieve the datasets of which the boxplots are drawn.
Examples#
Download Python source code | Download Jupyter notebook
Create a box plot and display the datasets.
>>> import pyvista as pv
>>> chart = pv.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.plot.data
(pyvista_ndarray([0, 1, 1, 2, 3, 3, 4]),)
>>> chart.show()