pyvista.Plotter.legend

Contents

pyvista.Plotter.legend#

property Plotter.legend: vtkLegendBoxActor | None[source]#

Legend actor.

There can only be one legend actor per renderer. If legend is None, there is no legend actor.

Returns:
vtk.vtkLegendBoxActor

Legend actor.