pyvista.ChartBox.background_texture#

property ChartBox.background_texture[source]#

Return or set the chart’s background texture.

Examples

Create a boxplot chart with an emoji as its background.

>>> import pyvista as pv
>>> from pyvista import examples
>>> chart = pv.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
>>> chart.background_texture = examples.download_emoji_texture()
>>> chart.show(interactive=False)
../../../../_images/pyvista-ChartBox-background_texture-2_00_00.png