Skip to content

Commit

Permalink
Fix readme examples
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchueler committed Feb 12, 2021
1 parent 7f53a7e commit f8e6339
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ import gstools as gs
x = np.arange(100)
y = np.arange(100)
model = gs.Gaussian(dim=2, var=1, len_scale=10)
srf = gs.SRF(model, generator='VectorField')
srf((x, y), mesh_type='structured', seed=19841203)
srf = gs.SRF(model, generator='VectorField', seed=19841203)
srf((x, y), mesh_type='structured')
srf.plot()
```

Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ Example
x = np.arange(100)
y = np.arange(100)
model = gs.Gaussian(dim=2, var=1, len_scale=10)
srf = gs.SRF(model, generator='VectorField')
srf((x, y), mesh_type='structured', seed=19841203)
srf = gs.SRF(model, generator='VectorField', seed=19841203)
srf((x, y), mesh_type='structured')
srf.plot()
yielding
Expand Down

0 comments on commit f8e6339

Please sign in to comment.