# Examples from pyvista.Chart2D.plot
# ==================================

# Generate a line plot.
import pyvista as pv
chart = pv.Chart2D()
_, line_plot = chart.plot(range(10), range(10))

chart.show()

# Generate a line and scatter plot.
chart = pv.Chart2D()
scatter_plot, line_plot = chart.plot(range(10), fmt='o-')

chart.show()

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

