10000 Fix text from deprecated argument (#4706) · scikit-image/scikit-image@08fe9fa · GitHub
[go: up one dir, main page]

Skip to content

Commit 08fe9fa

Browse files
authored
Fix text from deprecated argument (#4706)
1 parent 41adf5b commit 08fe9fa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/examples/edges/plot_active_contours.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
smooth images a bit before analyzing, as done in the following examples.
1717
1818
We initialize a circle around the astronaut's face and use the default boundary
19-
condition ``bc='periodic'`` to fit a closed curve. The default parameters
20-
``w_line=0, w_edge=1`` will make the curve search towards edges, such as the
21-
boundaries of the face.
19+
condition ``boundary_condition='periodic'`` to fit a closed curve. The default
20+
parameters ``w_line=0, w_edge=1`` will make the curve search towards edges,
21+
such as the boundaries of the face.
2222
2323
.. [1] *Snakes: Active contour models*. Kass, M.; Witkin, A.; Terzopoulos, D.
2424
International Journal of Computer Vision 1 (4): 321 (1988).
@@ -57,8 +57,8 @@
5757
######################################################################
5858
# Here we initialize a straight line between two points, `(5, 136)` and
5959
# `(424, 50)`, and require that the spline has its end points there by giving
60-
# the boundary condition `bc='fixed'`. We furthermore make the algorithm
61-
# search for dark lines by giving a negative `w_line` value.
60+
# the boundary condition `boundary_condition='fixed'`. We furthermore
61+
# make the algorithm search for dark lines by giving a negative `w_line` value.
6262

6363
img = data.text()
6464

0 commit comments

Comments
 (0)
0