Skip to content

Commit 77567f4

Browse files
Antoine Lavandierrenefritze
authored andcommitted
Moved start kwarg at the end
1 parent 229e2d0 commit 77567f4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pyevtk/hl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ def _appendDataToFile(vtkFile, cellData, pointData, fieldData=None):
139139
# =================================
140140
def imageToVTK(
141141
path,
142-
start=(0, 0, 0),
143142
origin=(0.0, 0.0, 0.0),
144143
spacing=(1.0, 1.0, 1.0),
145144
cellData=None,
146145
pointData=None,
147146
fieldData=None,
147+
start=(0, 0, 0),
148148
):
149149
"""
150150
Export data values as a rectangular image.
@@ -225,7 +225,7 @@ def imageToVTK(
225225

226226
# ==============================================================================
227227
def gridToVTK(
228-
path, x, y, z, start=(0, 0, 0), cellData=None, pointData=None, fieldData=None
228+
path, x, y, z, cellData=None, pointData=None, fieldData=None, start=(0, 0, 0)
229229
):
230230
"""
231231
Write data values as a rectilinear or structured grid.

0 commit comments

Comments
 (0)