Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(typo): Fixed syntax errors #250

Merged
merged 2 commits into from
Apr 12, 2022
Merged

docs(typo): Fixed syntax errors #250

merged 2 commits into from
Apr 12, 2022

Conversation

shanks847
Copy link
Contributor

The breakpoint variable, 'bkps' was mispelt to 'b' in the line below
signal, b = rpt.pw_constant(n, dim, n_bkps, noise_std=sigma)
This resulted in in error when trying to display the true and estimated breakpoints
Also the plotting function has extra brackets and a comma as seen below
fig, (ax,) = rpt.display(signal, bkps, my_bkps, figsize=(10, 6))
This resulted in an integer iteration error. The fix(which encoprates the bkps spelling fix as well) is shown below
fig, ax = rpt.display(signal, bkps, my_bkps, figsize=(10, 6))

The breakpoint variable, 'bkps' was mispelt to 'b' in the line that instantiates a pieces wise constant function. Also the plotting function has extra brackets and a comma around the ax variable which resulted in an integer iteration error.
@deepcharles deepcharles changed the title Fixed syntax errors docs(typo): Fixed syntax errors Apr 12, 2022
@deepcharles
Copy link
Owner

Thanks.

@deepcharles deepcharles merged commit 1c5ffbf into deepcharles:master Apr 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants