# Examples from pyvista.Chart2D.legend
# ====================================

# Create a 2D chart with custom labels and access its legend.
import pyvista as pv
chart = pv.Chart2D()
plot.label = "My awesome plot"
legend = chart.legend
chart.show()

# ----------------------------------------------------------------------
# Generated by sphinx-examples-as-code https://github.com/pyvista/sphinx-examples-as-code

