Logo image Logo image
  • Getting Started
  • User Guide
  • Examples
  • API Reference
  • Extras

API Reference

  • Core API
    • DataObject
    • Data Sets
    • Point Sets
    • Gridded Data
    • Composite Datasets
      • pyvista.MultiBlock
        • add_field_array
        • add_field_data
        • append
        • cell_centers
        • cell_data_to_point_data
        • clean
        • clear_field_arrays
        • clear_field_data
        • clip
        • clip_box
        • combine
        • compute_cell_sizes
        • copy
        • copy_attributes
        • copy_meta_from
        • copy_structure
        • deep_copy
        • elevation
        • extract_all_edges
        • extract_geometry
        • get
        • get_block_name
        • get_data_range
        • get_index_by_name
        • head
        • keys
        • next
        • outline
        • outline_corners
        • plot
        • point_data_to_cell_data
        • pop
        • save
        • set_block_name
        • shallow_copy
        • slice
        • slice_along_axis
        • slice_along_line
        • slice_orthogonal
        • triangulate
        • wrap_nested
        • actual_memory_size
        • bounds
        • center
        • field_arrays
        • field_data
        • length
        • memory_address
        • n_blocks
        • volume
    • Filters
    • Cameras
    • Lights
    • Helpers
    • Miscellaneous
  • Plotting
  • Utilities
  • Readers
  • Examples

add_field_array#

MultiBlock.add_field_array(scalars: ndarray, name: str, deep=True)#

Add field data.

Deprecated since version 0.32.0: Use DataObject.add_field_data() instead.

© Copyright 2017-2022, The PyVista Developers.

Created using Sphinx 5.0.2.