diff --git a/docs/notes/visualization.md b/docs/notes/visualization.md index daf090dd9..ec93cb885 100644 --- a/docs/notes/visualization.md +++ b/docs/notes/visualization.md @@ -5,7 +5,7 @@ sidebar_label: Plotly Visualization # Overview -PyTorch3D provides a modular differentiable renderer, but for instances where we want interactive plots or are not concerned with the differentiability of the rendering process, we provide [functions to render meshes and pointclouds in plotly](../../pytorch3d/visualization/plotly_vis.py). These plotly figures allow you to rotate and zoom the rendered images and support plotting batched data as multiple traces in a singular plot or divided into individual subplots. +PyTorch3D provides a modular differentiable renderer, but for instances where we want interactive plots or are not concerned with the differentiability of the rendering process, we provide [functions to render meshes and pointclouds in plotly](../../pytorch3d/vis/plotly_vis.py). These plotly figures allow you to rotate and zoom the rendered images and support plotting batched data as multiple traces in a singular plot or divided into individual subplots. # Examples diff --git a/docs/tutorials/render_colored_points.ipynb b/docs/tutorials/render_colored_points.ipynb index 8eaa939f2..c68691956 100644 --- a/docs/tutorials/render_colored_points.ipynb +++ b/docs/tutorials/render_colored_points.ipynb @@ -67,7 +67,7 @@ "\n", "# Data structures and functions for rendering\n", "from pytorch3d.structures import Pointclouds\n", - "from pytorch3d.visualization import AxisArgs, plot_pointclouds\n", + "from pytorch3d.vis import AxisArgs, plot_pointclouds\n", "from pytorch3d.renderer import (\n", " look_at_view_transform,\n", " FoVOrthographicCameras, \n", diff --git a/docs/tutorials/render_textured_meshes.ipynb b/docs/tutorials/render_textured_meshes.ipynb index 678a37df0..01a9433c5 100644 --- a/docs/tutorials/render_textured_meshes.ipynb +++ b/docs/tutorials/render_textured_meshes.ipynb @@ -93,7 +93,7 @@ "\n", "# Data structures and functions for rendering\n", "from pytorch3d.structures import Meshes\n", - "from pytorch3d.visualization import AxisArgs, plot_meshes\n", + "from pytorch3d.vis import AxisArgs, plot_meshes\n", "from pytorch3d.renderer import (\n", " look_at_view_transform,\n", " FoVPerspectiveCameras, \n", diff --git a/pytorch3d/visualization/__init__.py b/pytorch3d/vis/__init__.py similarity index 100% rename from pytorch3d/visualization/__init__.py rename to pytorch3d/vis/__init__.py diff --git a/pytorch3d/visualization/plotly_vis.py b/pytorch3d/vis/plotly_vis.py similarity index 100% rename from pytorch3d/visualization/plotly_vis.py rename to pytorch3d/vis/plotly_vis.py