# Examples from pyvista.examples.downloads.download_kitchen
# =========================================================

import pyvista as pv
from pyvista import examples
dataset = examples.download_kitchen()
point_a = (0.08, 2.50, 0.71)
point_b = (0.08, 4.50, 0.71)
line = pv.Line(point_a, point_b, resolution=39)
streamlines = dataset.streamlines_from_source(line, max_length=200)
streamlines.plot(show_grid=True)

# SEE ALSO:
#     Kitchen Dataset https://docs.pyvista.org/api/examples/dataset_gallery.html#kitchen-dataset
#     See this dataset in the Dataset Gallery for more info.
#     This dataset is used in the following examples:
#     Plot Over Line https://docs.pyvista.org/examples/02-plot/plot_over_line.html#plot-over-line-example
#     Line Widget https://docs.pyvista.org/examples/03-widgets/line_widget.html#line-widget-example

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

