Skip to content

Commit

Permalink
docs: pw_normal (#241)
Browse files Browse the repository at this point in the history
* Update pre-commits-config

* fix bug docs - pw_normal

* Update .pre-commit-config.yaml

Co-authored-by: Charles T <[email protected]>
  • Loading branch information
theovincent and deepcharles authored Mar 17, 2022
1 parent 42b1bc3 commit 1cabe92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/user-guide/datasets/pw_normal.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ import matplotlib.pylab as plt
import ruptures as rpt

# creation of data
n = 500, 3 # number of samples
n_bkps = 3 # number of change points, noise standart deviation
n = 500 # number of samples
n_bkps = 3 # number of change points
signal, bkps = rpt.pw_normal(n, n_bkps)
rpt.display(signal, bkps)
```

0 comments on commit 1cabe92

Please sign in to comment.