From 2b5be543ddc6779ab6709bf29ee0aaa30d4082b8 Mon Sep 17 00:00:00 2001 From: chavlin Date: Wed, 11 Dec 2024 11:12:15 -0500 Subject: [PATCH] update amr_osmesa.py example to also set a camera position --- examples/amr_osmesa.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/amr_osmesa.py b/examples/amr_osmesa.py index 3be5a775..c01a44a3 100644 --- a/examples/amr_osmesa.py +++ b/examples/amr_osmesa.py @@ -15,3 +15,7 @@ image = rc.run() yt.write_bitmap(image, "step2.png") + +rc.scene.camera.set_position([1.0, 1.5, 3.0]) +image = rc.run() +yt.write_bitmap(image, "step3_set_position.png")