From 28ed317a14eaa222dd23f4157ec75261f7e3ee18 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 21 Oct 2024 21:03:11 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/ipynb/notebook_showcase_k3d.ipynb | 3 ++- gustaf/show.py | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/examples/ipynb/notebook_showcase_k3d.ipynb b/examples/ipynb/notebook_showcase_k3d.ipynb index 49650c67..2c676561 100644 --- a/examples/ipynb/notebook_showcase_k3d.ipynb +++ b/examples/ipynb/notebook_showcase_k3d.ipynb @@ -15,9 +15,10 @@ "metadata": {}, "outputs": [], "source": [ - "import gustaf as gus\n", "import vedo\n", "\n", + "import gustaf as gus\n", + "\n", "vedo.settings.default_backend = \"k3d\"" ] }, diff --git a/gustaf/show.py b/gustaf/show.py index 89a54fe9..16378ca1 100644 --- a/gustaf/show.py +++ b/gustaf/show.py @@ -72,15 +72,15 @@ def show(*args, **kwargs): N = len(args) offs = kwargs.get("offscreen", False) interact = kwargs.get("interactive", True) - plt = kwargs.get("vedoplot", None) + plt = kwargs.get("vedoplot") skip_clear = kwargs.get("skip_clear", False) - close = kwargs.get("close", None) + close = kwargs.get("close") size = kwargs.get("size", "auto") - cam = kwargs.get("cam", None) + cam = kwargs.get("cam") title = kwargs.get("title", "gustaf") background = kwargs.get("background", "white") return_show_list = kwargs.get("return_showable_list", False) - axes = kwargs.get("axes", None) + axes = kwargs.get("axes") def clear_vedo_plotter(plotter, num_renderers, skip_cl=skip_clear): """enough said."""