diff --git a/python/pygimli/core/__init__.py b/python/pygimli/core/__init__.py index aaa40803a..14365a644 100644 --- a/python/pygimli/core/__init__.py +++ b/python/pygimli/core/__init__.py @@ -546,7 +546,7 @@ def RMatrix_len(self): _pygimli_.IndexArray.ndim = 1 _pygimli_.RMatrix.ndim = 2 _pygimli_.R3Vector.ndim = 2 -_pygimli_.stdVectorRVector3 = 2 +_pygimli_.stdVectorRVector3.ndim = 2 ############################ # Iterator support for RVector allow to apply python build-ins @@ -684,7 +684,6 @@ def __stdVectorRVector3ArrayCall(self, dtype=None): #if idx is not None: #print(self) #print(idx) - #raise Exception("we need to fix this") return _pygimli_.stdVectorRVector3ToR3Vector(self).array() _pygimli_.stdVectorRVector3.__array__ = __stdVectorRVector3ArrayCall diff --git a/python/pygimli/meshtools/grid.py b/python/pygimli/meshtools/grid.py index 80edcd990..454dd4758 100644 --- a/python/pygimli/meshtools/grid.py +++ b/python/pygimli/meshtools/grid.py @@ -43,7 +43,7 @@ def createGrid(**kwargs): >>> mesh = pg.meshtools.createGrid(x=[0, 1, 1.5, 2], ... y=[-1, -0.5, -0.25, 0], marker=2) >>> print(mesh) - Mesh: Nodes: 9 Cells: 4 Boundaries: 12 + Mesh: Nodes: 16 Cells: 9 Boundaries: 24 >>> _ = pg.show(mesh) >>> pg.wait() """