code: def __init__(
      self,
      size=1.0,
      vertex_colors=None,
      face_colors=None,
      color=(0.5, 0.5, 1, 1),
      edge_color=None,
      **kwargs,
  ):
      warnings.warn(
          "The CubeVisual is deprecated in favor of BoxVisual",
          DeprecationWarning,
          stacklevel=2,
      )
      if isinstance(size, tuple):
          width, height, depth = size
      else:
          width = height = depth = size
      BoxVisual.__init__(
          self,
          width=width,
          height=height,
          depth=depth,
          vertex_colors=vertex_colors,
          face_colors=face_colors,
          color=color,
          edge_color=edge_color,
          **kwargs,
      )
  
imports: import warnings
  from .box import BoxVisual
label_desc: Use image node_id 1 to create a new CubeVisual object from inherited base classes: BoxVisual with example: obj = CubeVisual(size, vertex_colors, face_colors, color, edge_color)