Skip to content

Commit c59c588

Browse files
committed
introduction to numpy: update exercise shape in exercise description
1 parent 5c4c354 commit c59c588

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

python/numpy/introduction_to_numpy.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1953,7 +1953,7 @@
19531953
"source": [
19541954
"## Exercise \n",
19551955
"\n",
1956-
"Suppose we want to shrink the physical size of a 1000x1000 gray-value image by a factor 4, without changing the type of the pixels.\n",
1956+
"Suppose we want to shrink the physical size of a 100x100 gray-value image by a factor 4, without changing the type of the pixels.\n",
19571957
"A natural approach is to reduce the number of pixels by a factor 2 in each dimension. This operation is called **binning**. It consists in replacing each 2x2 square in the image by one single pixel value. The next question is: which value should be assigned to each pixel in the new image.\n",
19581958
"\n",
19591959
"\n",

0 commit comments

Comments
 (0)