From b641f9b31dd5e984daaa47a4775c10ee04d62d83 Mon Sep 17 00:00:00 2001 From: Chris Havlin Date: Fri, 4 Aug 2023 09:56:13 -0500 Subject: [PATCH] add link to the new slicing nb --- docs/examples/ytnapari_scene_03_slices.ipynb | 14 ++++++++++---- docs/notebooks.rst | 2 ++ 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/docs/examples/ytnapari_scene_03_slices.ipynb b/docs/examples/ytnapari_scene_03_slices.ipynb index b9978d0..54ad182 100644 --- a/docs/examples/ytnapari_scene_03_slices.ipynb +++ b/docs/examples/ytnapari_scene_03_slices.ipynb @@ -408,10 +408,16 @@ "source": [ "## Limitations\n", "\n", - "At present, `yt_napari` will not attempt to align slices along different axes, so if you add a second slice along a different axis, it will simply overlay as a new 2D image layer. You'll be able to work with the layers in napari, but compositing or 3D views is not recommended.\n", - "\n", - "Further, 2d and 3d `yt_napari` image layers cannot presently mixed, so if you try to add a slice to an existing scene with a 3D region, `yt_napari` will error." + "At present, `yt_napari` will not attempt to align slices along different axes, so if you add a second slice along a different axis or add a 3D region, it will simply overlay as a new 2D image layer. You'll be able to work with the layers in napari, but compositing or 3D views may be difficult or incorrectly aligned." ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "917693c1-ebd5-483d-9bc9-2c1574777149", + "metadata": {}, + "outputs": [], + "source": [] } ], "metadata": { @@ -430,7 +436,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.9.16" + "version": "3.9.0" } }, "nbformat": 4, diff --git a/docs/notebooks.rst b/docs/notebooks.rst index 0b54306..3499952 100644 --- a/docs/notebooks.rst +++ b/docs/notebooks.rst @@ -6,8 +6,10 @@ Example Notebooks examples/ytnapari_scene_01_intro examples/ytnapari_scene_02_linking_layers + examples/ytnapari_scene_03_slices These notebooks demonstrate some of the helper methods available in :code:`yt-napari` for adding new :code:`yt` image layers to a :code:`napari` GUI: - :doc:`examples/ytnapari_scene_01_intro` - :doc:`examples/ytnapari_scene_02_linking_layers` +- :doc:`examples/ytnapari_scene_03_slices`