class_docstr: An ndarray which references the owning table and the underlying vtkArray.
  
  This class is used to ensure that the internal vtkLookupTable updates when
  the values array is updated.
class_docstr_tok: ["An","ndarray","which","references","the","owning","table","and","the","underlying","vtkArray",".","This","class","is","used","to","ensure","that","the","internal","vtkLookupTable","updates","when","the","values","array","is","updated","."]
docstr: Allocate the array.
code: def __new__(
      cls,
      array,
      table=None,
  ):
      """Allocate the array."""
      obj = convert_array(array).view(cls)
      obj.VTKObject = array
  
      obj.table = _vtk.vtkWeakReference()
      obj.table.Set(table)
  
      return obj
  
imports: from typing import Any, Optional, Tuple, Union
  import numpy
  import pyvista
  from pyvista.core.utilities.arrays import convert_array
  from pyvista.core.utilities.misc import no_new_attr
  from .None import _vtk
  from ._typing import ColorLike
  from .colors import Color, get_cmap_safe
  from .tools import opacity_transfer_function
label_desc: Use image node_id 1 for calling the lookup_table_ndarray obj's underlying member method code with example usage: obj.__new__(cls, array, table) and returns: obj