# Examples from pyvista.MultiBlock.is_heterogeneous
# =================================================

# Load a dataset with nested multi-blocks. Here we load
# `download_mug()`.
from pyvista import examples
multi = examples.download_mug()

# Show the `nested_block_types`.
multi.nested_block_types

# Since there is more than one type, the dataset is heterogeneous.
multi.is_heterogeneous

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

