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 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 belowfig, (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 belowfig, ax = rpt.display(signal, bkps, my_bkps, figsize=(10, 6))