Skip to content

Commit c022b44

Browse files
committed
Apply the same to remaining instance
1 parent 7b09209 commit c022b44

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/examples/applications/plot_fluorescence_nuclear_envelope.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -203,11 +203,13 @@
203203
# dimension now contains all pixel values), and applying the thresholding
204204
# function on the image sequence along its second axis:
205205
#
206-
# .. code-block:: python
206+
# .. code-block:: python
207+
# :caption: NumPy's `apply_along_axis` applies a function to 1D slices of
208+
# `arr` along `axis`.
207209
#
208-
# thresh_values = np.apply_along_axis(filters.threshold_otsu,
209-
# axis=1,
210-
# arr=smooth_seq.reshape(n_z, -1))
210+
# thresh_values = np.apply_along_axis(filters.threshold_otsu,
211+
# axis=1,
212+
# arr=smooth_seq.reshape(n_z, -1))
211213
#
212214
# We use the following flat structuring element for morphological
213215
# computations (``np.newaxis`` is used to prepend an axis of size 1 for time):

0 commit comments

Comments
 (0)