ChartPie.background_texture#
Examples#
Download Python source code | Download Jupyter notebook
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)