Skip to content

Commit 177661f

Browse files
committed
Use note directive.
1 parent 7b44c12 commit 177661f

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

content/tutorial-svd.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,12 @@ plt.imshow(np.transpose(reconstructed, (1, 2, 0)))
365365
plt.show()
366366
```
367367

368-
In fact, `imshow` peforms this clipping under-the-hood, so if you skip the first line in the previous code cell, you might see a warning message saying `"Clipping input data to the valid range for imshow with RGB data ([0..1] for floats or [0..255] for integers)."`
368+
```{note}
369+
In fact, `imshow` peforms this clipping under-the-hood, so if you skip the first
370+
line in the previous code cell, you might see a warning message saying
371+
`"Clipping input data to the valid range for imshow with RGB data ([0..1] for
372+
floats or [0..255] for integers)."`
373+
```
369374

370375
Now, to do the approximation, we must choose only the first `k` singular values for each color channel. This can be done using the following syntax:
371376

0 commit comments

Comments
 (0)