code: def _update_axes_bounds(
      verts_center: torch.Tensor,
      max_expand: float,
      current_layout: go.Scene,  # pyre-ignore[11]
  ) -> None:  # pragma: no cover
      """
      Takes in the vertices' center point and max spread, and the current plotly figure
      layout and updates the layout to have bounds that include all traces for that subplot.
      Args:
          verts_center: tensor of size (3) corresponding to a trace's vertices' center point.
          max_expand: the maximum spread in any dimension of the trace's vertices.
          current_layout: the plotly figure layout scene corresponding to the referenced trace.
      """
      verts_center = verts_center.detach().cpu()
      verts_min = verts_center - max_expand
      verts_max = verts_center + max_expand
      bounds = torch.t(torch.stack((verts_min, verts_max)))
  
      # Ensure that within a subplot, the bounds capture all traces
      old_xrange, old_yrange, old_zrange = (
          current_layout["xaxis"]["range"],
          current_layout["yaxis"]["range"],
          current_layout["zaxis"]["range"],
      )
      x_range, y_range, z_range = bounds
      if old_xrange is not None:
          x_range[0] = min(x_range[0], old_xrange[0])
          x_range[1] = max(x_range[1], old_xrange[1])
      if old_yrange is not None:
          y_range[0] = min(y_range[0], old_yrange[0])
          y_range[1] = max(y_range[1], old_yrange[1])
      if old_zrange is not None:
          z_range[0] = min(z_range[0], old_zrange[0])
          z_range[1] = max(z_range[1], old_zrange[1])
  
      xaxis = {"range": x_range}
      yaxis = {"range": y_range}
      zaxis = {"range": z_range}
      current_layout.update(
          {"xaxis": xaxis, "yaxis": yaxis, "zaxis": zaxis}
      )
  
imports: import warnings
  from typing import Dict, List, NamedTuple, Optional, Tuple, Union
  import plotly.graph_objects
  import torch
  from plotly.subplots import make_subplots
  from pytorch3d.renderer import HeterogeneousRayBundle, ray_bundle_to_ray_points, RayBundle, TexturesAtlas, TexturesVertex
  from pytorch3d.renderer.camera_utils import camera_to_eye_at_up
  from pytorch3d.renderer.cameras import CamerasBase
  from pytorch3d.structures import join_meshes_as_scene, Meshes, Pointclouds
label_desc: Use image node_id 13 for calling a global function with example usage: _update_axes_bounds(verts_center, max_expand, current_layout) without return types