pyvista.ChartPie.background_texture#

property ChartPie.background_texture[source]#

Return or set the chart’s background texture.

Examples

Create a pie chart with an emoji as its background.

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