Skip to content

Commit 24d18a5

Browse files
authored
Merge pull request #245 from 42-AI/239-python03-ex02
Update en.subject.tex
2 parents 16343b5 + 7d1bef3 commit 24d18a5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

module03/subject/en.subject.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ \section*{Instructions}
439439

440440
def thin(self, array, n, axis):
441441
"""
442-
Deletes every n-th line pixels along the specified axis (0: vertical, 1: horizontal)
442+
Deletes every n-th line pixels along the specified axis (0: Horizontal, 1: Vertical)
443443
Args:
444444
-----
445445
array: numpy.ndarray.
@@ -526,12 +526,12 @@ \section*{Examples}
526526
arr2 = np.array("A B C D E F G H I".split() * 6).reshape(-1,9)
527527
spb.thin(arr2,3,0)
528528
#Output :
529-
array([['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'],
530-
['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'],
531-
['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'],
532-
['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'],
533-
['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K'],
534-
['A', 'B', 'D', 'E', 'G', 'H', 'J', 'K']], dtype='<U1')
529+
array([['A', 'B', 'D', 'E', 'G', 'H'],
530+
['A', 'B', 'D', 'E', 'G', 'H'],
531+
['A', 'B', 'D', 'E', 'G', 'H'],
532+
['A', 'B', 'D', 'E', 'G', 'H'],
533+
['A', 'B', 'D', 'E', 'G', 'H'],
534+
['A', 'B', 'D', 'E', 'G', 'H']], dtype='<U1')
535535

536536

537537
arr3 = np.array([[1, 2, 3],[1, 2, 3],[1, 2, 3]])
@@ -975,4 +975,4 @@ \section*{Acknowledgements}
975975
\vfill
976976
\doclicenseThis
977977

978-
\end{document}
978+
\end{document}

0 commit comments

Comments
 (0)