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
>>> from pyvista import examples
>>> chart = pyvista.ChartPie([5, 4, 3, 2, 1])
>>> chart.background_texture = examples.download_emoji_texture()
>>> chart.show(interactive=False)
https://d33wubrfki0l68.cloudfront.net/c06fccef6c8c32f196453b3e585bf66c92b3c1bf/7571e/_images/pyvista-chartpie-background_texture-1_00_00.png