code: def y_axis_transform(compound, new_origin=None,
                       point_on_y_axis=None,
                       point_on_xy_plane=None):
      
      x_axis_transform(compound, new_origin=new_origin,
                       point_on_x_axis=point_on_y_axis,
                       point_on_xy_plane=point_on_xy_plane)
      rotate_around_z(compound, np.pi / 2)
docs: Move a compound such that the y-axis lies on specified points.
  
      Parameters
      ----------
      compound : mb.Compound
          The compound to move.
      new_origin : mb.Compound or like-like of size 3, optional, default=[0.0, 0.0, 0.0]
          Where to place the new origin of the coordinate system.
      point_on_y_axis : mb.Compound or list-like of size 3, optional, default=[0.0, 1.0, 0.0]
          A point on the new y-axis.
      point_on_xy_plane : mb.Compound or list-like of size 3, optional, default=[0.0, 1.0, 0.0]
          A point on the new xy-plane.