def update_position(e):
        """Update label positions in 3d chart
        Args:
            e (mouse event) - event handle to update on
        Returns:
            None
        """

        proj = ax.get_proj()
        for label, x, y, z in labels_and_points:
            x2, y2, _ = proj3d.proj_transform(x, y, z, proj)
            label.xy = x2, y2
            label.update_positions(fig.canvas.renderer)
            label._visible = True
        fig.canvas.draw()
Update label positions in 3d chart
        Args:
            e (mouse event) - event handle to update on
        Returns:
            None
        
hypertools/plot/draw.py