pyvista.Renderer.get_charts#

Renderer.get_charts()[source]#

Return a list of all charts in this renderer.

Examples

>>> import pyvista as pv
>>> chart = pv.Chart2D()
>>> _ = chart.line([1, 2, 3], [0, 1, 0])
>>> pl = pv.Plotter()
>>> pl.add_chart(chart)
>>> chart is pl.renderer.get_charts()[0]
True
../../../_images/pyvista-Renderer-get_charts-2_00_00.png