Skip to content

Commit

Permalink
docs: add dim="..." everywhere for those who copy paste.
Browse files Browse the repository at this point in the history
  • Loading branch information
atrabattoni committed Aug 5, 2024
1 parent a169f5c commit 6d2feea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/user-guide/convert-displacement.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import xdas.signal as xp
strain = xp.integrate(strain_rate, dim="time")
deformation = xp.integrate(strain, dim="distance")
displacement = xp.sliding_mean_removal(deformation, wlen=2000.0)
displacement = xp.sliding_mean_removal(deformation, wlen=2000.0, dim="distance")
displacement.plot(yincrease=False, vmin=-0.5, vmax=0.5);
```

Expand Down

0 comments on commit 6d2feea

Please sign in to comment.