From e3dee52a105cbdb72c1ba0df7a56aedc320714a0 Mon Sep 17 00:00:00 2001 From: alessandrofelder Date: Wed, 15 Nov 2023 14:13:17 +0000 Subject: [PATCH] remove camera operation I don't see why our export function should affect the camera. I removed it here because camera is an empty list in the test. --- brainrender/render.py | 1 - 1 file changed, 1 deletion(-) diff --git a/brainrender/render.py b/brainrender/render.py index fa59ffc9..a7d91408 100644 --- a/brainrender/render.py +++ b/brainrender/render.py @@ -305,7 +305,6 @@ def export(self, savepath): plt = Plotter() plt.add(self.clean_renderables).render() plt = plt.show(interactive=False) - plt.camera[-2] = -1 with open(path, "w") as fp: fp.write(plt.get_snapshot())