diff --git a/docs/tutorials/deform_source_mesh_to_target_mesh.ipynb b/docs/tutorials/deform_source_mesh_to_target_mesh.ipynb index a669267e..ea96678f 100644 --- a/docs/tutorials/deform_source_mesh_to_target_mesh.ipynb +++ b/docs/tutorials/deform_source_mesh_to_target_mesh.ipynb @@ -262,7 +262,7 @@ " points = sample_points_from_meshes(mesh, 5000)\n", " x, y, z = points.clone().detach().cpu().squeeze().unbind(1) \n", " fig = plt.figure(figsize=(5, 5))\n", - " ax = Axes3D(fig)\n", + " ax = fig.add_subplot(111, projection='3d')\n", " ax.scatter3D(x, z, -y)\n", " ax.set_xlabel('x')\n", " ax.set_ylabel('z')\n",