# Examples from pyvista.plotting.charts.BoxPlot.label
# ===================================================

# Create a box plot with custom label.
import pyvista as pv
import numpy as np
chart = pv.ChartBox([[0, 1, 1, 2, 3, 3, 4]])
plot = chart.plot
chart.show()

# Modify the label.
plot.label = 'My awesome plot'
chart.show()

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