# Examples from pyvista.Chart2D.legend_visible
# ============================================

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

# Hide the legend.
chart.legend_visible = False
chart.show()

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

