From 764af76053e3b218182310c4a1f02cfd8517d087 Mon Sep 17 00:00:00 2001 From: Chris Garling Date: Wed, 3 Dec 2025 00:28:44 -0500 Subject: [PATCH] fix variables in jwst-image-scale-bar.md variables were misnamed, prevented tutorial from being run --- docs/src/tutorials/jwst-image-scale-bar.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/jwst-image-scale-bar.md b/docs/src/tutorials/jwst-image-scale-bar.md index 730ac55c1b..4d2c69dfee 100644 --- a/docs/src/tutorials/jwst-image-scale-bar.md +++ b/docs/src/tutorials/jwst-image-scale-bar.md @@ -92,7 +92,7 @@ println(carina["CTYPE1", Comment]) println(carina["CTYPE1"]) ``` ``` -first axis coordinate type +Axis 1 type RA---TAN ``` @@ -152,7 +152,7 @@ b_px = world_to_pix(carina_full, b_deg) # Measure the angular distance in pixel coordinates # note: in theory this depends on where in the image we make this calculation # because the coordinate system is warped -arcmin_px = norm(stop_coord_pix .- start_coord_pix) +arcmin_px = norm(b_px .- a_px) # Plot our image again implot(carina; grid=false, clims=Percent(98))