# Examples from pyvista.ChartMPL.loc
# ==================================

# Create a half-sized matplotlib chart centered in the middle of the
# renderer.
import pyvista as pv
chart = pv.ChartMPL()

chart.size = (0.5, 0.5)
chart.loc = (0.25, 0.25)
chart.show()

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

