From 5fbff495dc6c8ff5d184d883a02e7f3fd0a1af42 Mon Sep 17 00:00:00 2001 From: "Victor J. Forouhar Moreno" <60343271+VictorForouhar@users.noreply.github.com> Date: Tue, 24 Sep 2024 17:39:36 +0200 Subject: [PATCH] Update projection.rst Tutorial was outdated. --- docs/source/visualisation/projection.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/visualisation/projection.rst b/docs/source/visualisation/projection.rst index bed0e2ea..e92428e1 100644 --- a/docs/source/visualisation/projection.rst +++ b/docs/source/visualisation/projection.rst @@ -295,13 +295,13 @@ of correctly applied units to these projections soon. To use this feature for particle types that do not have smoothing lengths, you will need to generate them, as in the example below where we create a mass density map for dark matter. We provide a utility to do this through -:meth:`swiftsimio.visualisation.smoothing_length_generation.generate_smoothing_lengths`. +:meth:`swiftsimio.visualisation.smoothing_length.generate_smoothing_lengths`. .. code-block:: python from swiftsimio import load from swiftsimio.visualisation.projection import project_pixel_grid - from swiftsimio.visualisation.smoothing_length_generation import generate_smoothing_lengths + from swiftsimio.visualisation.smoothing_length import generate_smoothing_lengths data = load("cosmo_volume_example.hdf5")