From 7d1bef342c5dd6cbb59676b70a2176420778b3d9 Mon Sep 17 00:00:00 2001 From: Quentin FEUILLADE--MONTIXI <58710693+qfeuilla@users.noreply.github.com> Date: Thu, 19 May 2022 19:24:17 +0200 Subject: [PATCH] Update en.subject.tex --- module03/subject/en.subject.tex | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/module03/subject/en.subject.tex b/module03/subject/en.subject.tex index 44b9e0b2..26dd7b8f 100644 --- a/module03/subject/en.subject.tex +++ b/module03/subject/en.subject.tex @@ -439,7 +439,7 @@ \section*{Instructions} def thin(self, array, n, axis): """ - Deletes every n-th line pixels along the specified axis (0: vertical, 1: horizontal) + Deletes every n-th line pixels along the specified axis (0: Horizontal, 1: Vertical) Args: ----- array: numpy.ndarray. @@ -526,12 +526,12 @@ \section*{Examples} arr2 = np.array("A B C D E F G H I".split() * 6).reshape(-1,9) spb.thin(arr2,3,0) #Output : -array([['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'], - ['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'], - ['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'], - ['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'], - ['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'], - ['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K']], dtype='