diff --git a/pymoto/common/domain.py b/pymoto/common/domain.py index 6d174be..81dbac4 100644 --- a/pymoto/common/domain.py +++ b/pymoto/common/domain.py @@ -288,7 +288,7 @@ def update_plot(self, patches, deformation=None, scaling=None): patch.set_path(self.get_path(x + u, y + v)) # flake8: noqa: C901 - def write_to_vti(self, vectors: dict, filename="out.vti", scale=1.0, origin=(0.0, 0.0, 0.0)): + def write_to_vti(self, vectors: dict, filename="out.vti", scale=1.0): """ Write all given vectors to a Paraview (VTI) file The size of the vectors should be a multiple of ``nel`` or ``nnodes``. Based on their size they are marked as @@ -300,7 +300,6 @@ def write_to_vti(self, vectors: dict, filename="out.vti", scale=1.0, origin=(0.0 vectors: A dictionary of vectors to write. Keys are used as vector names. filename (str): The file loction scale: Uniform scaling of the gridpoints - origin: Origin of the domain """ ext = '.vti' if ext not in os.path.splitext(filename)[-1].lower(): @@ -337,7 +336,7 @@ def write_to_vti(self, vectors: dict, filename="out.vti", scale=1.0, origin=(0.0 file.write(f"